dblabs/q.sql

4 lines
117 B
MySQL
Raw Normal View History

2024-01-25 21:17:11 +01:00
SELECT firstName, lastName, count(*) as nbrOfStudents
FROM Students
GROUP BY firstName, lastName
HAVING count(*) > 1;