Answers for "sql count having"

SQL
1

sql count having

-- Classes with more than 10 students
SELECT student_class, COUNT(*) FROM students GROUP BY student_class 
	HAVING count(*) > 10;
Posted by: Guest on April-21-2021
0

sql count having

SELECT COUNT( * ) 
FROM agents 
HAVING COUNT(*)>1; --count is greater than 1
Posted by: Guest on March-17-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language