I am writing a program that needs to delete data across multiple tables.

is there a way with a SQL command to delete records from more than one table.

this is what i am trying to do:

DELETE FROM REQUESTS, REQUEST_ITEMS WHERE REQUESTS.REQID = 1 and REQUEST_ITEMS.REQID = 1;

but I keep getting errors. I am using Oracle 9i.

Thanks,

I can't change the way the database works, so please only answers that wuld have a solution with SQL.

-Mike