/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT event_id,user_id, COUNT(*) FROM event_attend GROUP BY event_id,user_id HAVING COUNT(*) > 1