sql code to create the databases/tables