So what is the benefit of SQL, also known as Oracle? Well you can keep track of your customers records easily for one thing. Second, it is secure, so no one, unless you give them permission, will access this information. Below you will see one of the basics of SQL.

Create statements in SQL:

Example 1:

Create Table CUSTOMER

(CUST_ID number(6) primary key,

CUST_NAME char (12),

Year_born number(4));

Example 2:


(CUST_ID number (6) references CUSTOMER,

Ice_cream_ID number (15) references ICECREAM,

primary key (CUST_ID, Ice_cream_ID));


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: