I want to do something like this:
DELETE FROM table WHERE id IN (SELECT ....)
How can I do that?
Delete from BA_CITY_MASTER where CITY_NAME in (select CITY_NAME from BA_CITY_MASTER group by CITY_NAME having count(CITY_NAME)>1);