check for same record in sql code example
Example: sql check same row
// select duplicate -------------
-- users (name, email) --
// -------------------------------
SELECT
id, school_id, COUNT(*)
FROM
booster_school_languages
GROUP BY
id, school_id
HAVING
COUNT(*) > 3