1
DELETE FROM `tb_users`
INNER JOIN `tb_marker` ON tb_users.id_users` = `tb_marker.id_users`
WHERE `tb_users.id_users` = 12
Follow below the error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INNER JOIN `tb_marker` on `tb_users.id_users` = `tb_marker.id_users` WHERE `tb_u' at line 1
I did not understand, if you have id_users, it would not be simpler to remove the Internet and consider only Where as a search clause?
– Fábio Jânio