if I want to delete some data in mysql, can I use
delete from table where xxx='xxx' and indexID not in (select * table where xxx='xxx limit 3)
??
because when I used this code, I got the error.
I know how to working in mssql,
DELETE FROM table WHERE xxx = 'xxx' AND indexID NOT IN (SELECT TOP(3) indexID FROM table WHERE xxx = 'xxx' ORDER BY check_date DESC