You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT query_name, ROUND((SUM(rating/position)/COUNT(query_name)),2) AS quality, ROUND((SUM(IF(rating<3,1,0))/COUNT(query_name))*100,2) AS poor_query_percentage FROM Queries WHERE query_name IS NOT NULLGROUP BY query_name;