ms sql check if two values in row 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