When using delete statement for single table with Limit and ORDERBY its working fine
DELETE FROM test_users_table ORDER BY test_users_table_cname DESC
LIMIT 5
Can we also achieve delete in multiple table using ORDER BY AND LIMIT option ..
Here is what I am using
DELETE test_users_table, test_user_data_table FROM test_users_table
JOIN test_user_data_table
ON test_users_table.table1_id = test_user_data_table.table2_userid
ORDER BY test_users_table.cname DESC
LIMIT 5
For multiple table its throwing error