๐ Bug HuntSQ SQL Mediumโก+20 XP
Aggregate Without GROUP BY
This query fails when mixing aggregate and non-aggregate columns.
๐ Find the bug
1
SELECT name, COUNT(*)2
FROM employees;๐ The bug is on line 1