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
SELECT query_name, ROUND(AVG(rating / position), 2) AS quality, ROUND((AVG(CASE WHEN rating < 3 THEN 1 ELSE 0 END) * 100), 2) AS poor_query_percentage FROM Queries WHERE query_name IS NOT NULL GROUP BY query_name
--> Added "WHERE" clause.
The text was updated successfully, but these errors were encountered:
Edited Code from My Side/Final Code :
SELECT query_name, ROUND(AVG(rating / position), 2) AS quality, ROUND((AVG(CASE WHEN rating < 3 THEN 1 ELSE 0 END) * 100), 2) AS poor_query_percentage FROM Queries WHERE query_name IS NOT NULL GROUP BY query_name
--> Added "WHERE" clause.
The text was updated successfully, but these errors were encountered: