Comments on: How to delete all duplicate rows but keeping one in sql https://blogs.learnsmartcoding.com/2019/09/01/how-to-delete-all-duplicate-rows-but-keeping-one-in-sql/ Everyone can code! Sat, 22 Jan 2022 00:34:15 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: ifohancroft https://blogs.learnsmartcoding.com/2019/09/01/how-to-delete-all-duplicate-rows-but-keeping-one-in-sql/#comment-2 Sat, 22 Jan 2022 00:34:15 +0000 https://karthiktechblog.com/?p=57#comment-2 Hi,

This article helps a lot! Thank you!

How would you do the exact same thing, however, deleting from multiple tables at the same time in a single query, where the id is the same as the one in the Accounts table, but not in every database it has the same name? The duplicate rows are still in the Accounts table and you want to get their ids but delete from Accounts and just in case there is data for those account ids in other tables? The account ids in other tables may be called id, aid, a_id, etc.

Best Regards,
IFo Hancroft

]]>