Skip to content

Commit

Permalink
Time: 326 ms (100.00%), Space: 0B (100.00%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
joseantoniochacon committed Jun 4, 2024
1 parent 863d678 commit 3f63d2a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Write your MySQL query statement below
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 NULL GROUP BY query_name;

0 comments on commit 3f63d2a

Please sign in to comment.