Multi-Table Delete
This lesson demonstrates how to delete data from multiple tables.
We'll cover the following...
Multi-Table Delete
We know how to delete data from a single table, however, if you are confronted with a situation where you want to delete data from one table and also any related data from other tables, you can employ the multi-table delete queries. An example scenario can be that when we delete an actor from our Actors table we also want all rows in the DigitalAssets table belonging to the deleted actor removed too.
Older Syntax
DELETE T1, T2
FROM T1, T2, T3
WHERE <condition>
Newer Syntax
Use the newer syntax ...
Access this course and 1400+ top-rated courses and projects.