select rows with same value in a column
select * from table where email in (
select email from table
group by email having count(*) > 1
)
select rows with same value in a column
select * from table where email in (
select email from table
group by email having count(*) > 1
)
select rows with same value in a column
SELECT email,
count(*) AS c
FROM TABLE
GROUP BY email
HAVING c > 1
ORDER BY c DESC
sql select rows with different values in one column
SELECT *
FROM YourTable
WHERE ARIDNR IN (
SELECT ARIDNR
FROM YourTable
GROUP BY ARIDNR
HAVING COUNT(*) > 1
)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us