DELETE FROM `tb_users`
INNER JOIN `tb_marker` ON tb_users.id_users` = `tb_marker.id_users`
WHERE `tb_users.id_users` = 12
Segue abaixo o erro:
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