creates a database and a table