uid is required to be unique for the the Changed Events (with the new Data) to be inserted without creating new Rows.
4 lines
75 B
SQL
4 lines
75 B
SQL
SELECT uid, COUNT(*) AS count
|
|
FROM events
|
|
GROUP BY uid
|
|
HAVING COUNT(*) > 1; |