Implemented generating an insert for one table
generates sqls for parent tables.
This does not work for database generated primary keys