I need a query that selects a list of duplicated values that does not use HAVING COUNT function (this is due to a software constraint that only allows me to use SELECT, FROM, and WHERE).
In similar fashion to this:
select column_name, count(column_name)
from table
group by column_name
having count (column_name) > 1;
You can select duplicate column_name values using a window function
here's another query using
existsin case you can't use window functions