I want a query that updates the max number of the id... here is my code..
UPDATE `jobs` SET `sectors` = '12' WHERE `id` = (SELECT MAX(`id`) FROM `jobs`)
the error says : #1093 - You can't specify target table 'wpjb_job' for update in FROM clause
what can I do to make this happen?