add sql that create database and tables