To create a database in SQL enter
CREATE DATABASE Test
The above example has created a database called Test.
To create a table in the database