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.

How to add a piece of data into a column that includes information from other columns in SQL:

Example: Add an ice cream peanut butter id number 625 and uses ingredients 1500 and 1600.

Insert into ICECREAM  (Ice_cream_ID, Ice_cream_flavor, Price, Year_first_offered, Selling_status) values (‘625’, ‘Peanutbutter’, ‘0’, ‘2017’, ‘Null’);

Insert into RECIPE values (‘625’,  ‘1500’, Null);

Insert into RECIPE values (‘625’,  ‘1600’, Null);

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

w

Connecting to %s

%d bloggers like this: