1. create tables empty
2. start a transaction
3. insert into table1
4. insert into table2
5. insert into table3
6. commit