working on db hw
modified create_tables.sql so that parent tables are created before child tables