Databases contain tables. You can't create a table outside of a database. The actual syntax for creating a database in most systems is simply “creat database dbname”. The syntax for creating a table on the other hand is much more complicated. You must spicify each column name it's size it's data type, if a null value is allowed, possibly it's default value. Also you'll need to define indexes and forign keys as needed.