Files
77th_eventcalenderntfy/sql/events/events_find_duplicate_uid.sql
chiko eea37b3df5 Fixing the uid Column isn't unique.
uid is required to be unique for the the Changed Events (with the new Data) to be inserted without creating new Rows.
2025-11-03 00:22:01 +00:00

4 lines
75 B
SQL

SELECT uid, COUNT(*) AS count
FROM events
GROUP BY uid
HAVING COUNT(*) > 1;