I have three tables.
- Table 1 (table1_id, table1_name)
- Table 2 (table2_id, table1_id, table2_name)
- Table 3 (table3_id, table2_id, table3_name)
I want to delete all the information where table1_id = 33
. How I also delete all table2 rows that have table1_id = 33
and also all table3 rows that have table2_id whose rows in Table 2 have table1_id = 33
? What is the nicest and proper way to do that?