sql code to create databases
created tables