Uki’s Ikigai 宇気の生き甲斐
Cultural Anthropology, Ai/ML Tech, and Zen-Stoic blend Behavioral Philosophy
My interests
(Move to ...)
AI/ML Tech
Culture
Slavic
Japanese
Stoic, Zen philosophy
▼
SQL: query occurrences of multiple fields in a table
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.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment