I am a Linux admin with only basic knowledge in Mysql Queries
I want to delete many table entries which are ip address from my table using id,
Hope it helps:
DELETE FROM tablename WHERE tablename.id = ANY (SELECT id FROM tablename WHERE id = id);