DELETE FROM `takes` WHERE ID, course_ID IN
(SELECT ID, course_ID FROM `takes` natural join `student`
where name = 'Jane' and course_ID='BIOL101')
From the takes table, I am trying to drop all Janes who are enrolled in BIOL101. 
The SELECT gives me the correct set of IDs and course_IDs, and I am just trying to DELETE that from the takes table. Having trouble figuring out the proper syntax. 
phpMyAdmin gives me the error: "#1093 - You can't specify target table 'takes' for update in FROM clause"
 
     
     
     
    