The following query is not working .Please tell me what is wrong here.Its giving Error report:SQL Error: ORA-00933: SQL command not properly ended 00933. 00000 - "SQL command not properly ended". I am trying to delete the data from two tables at a time.
delete t1,t2 from x t1 inner join y t2 on t1.id=t2.id where t1.id in
(SELECT object_id FROM z WHERE name = 'YourName');