Friday, June 1, 2012

SQL CREATE DATABASE AND TABLE Statement

The CREATE DATABASE statement is used to create a database


SQL CREATE DATABASE Syntax
CREATE DATABASE database_name


The CREATE TABLE statement is used to create a table in a database


SQL CREATE TABLE Syntax
CREATE TABLE table_name
(
column_name1 data_type,
column_name2 data_type,
column_name3 data_type,
)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.