database and table creation SQL