SQL - Advanced Query Patterns
Identify the error in this SQL query:
SELECT name, age FROM users WHERE age > 18 GROUP BY name;
SELECT name, age FROM users WHERE age > 18 GROUP BY name;
name and age but only groups by name, so age is neither grouped nor aggregated.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions