add sql for populating database with all tables