SELECT id, name , email,
COUNT(id) AS NumOccurrences
FROM student_record
GROUP BY id, name, email
HAVING ( COUNT(id) > 1 );
- student_record is table name.
- id, name, email are column names.
- counting more than one occurrences for above column.
I write about evolutionary anthropology, behavioral sciences, and related AI, particularly small, specialized Deep Neural Networks and LLMs.
No comments:
Post a Comment
Please be polite.