sql queries to create and fill the database