IT: Find a column in SQL

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 find a column in SQL

Example: What are the Ice Cream flavors?

Select Ice_cream_flavor from ICECREAM;

Output:

SQL> Select Ice_cream_flavor from ICECREAM;

ICE_CREAM_FLAVOR

—————-

Berry

Vanilla

Cherry

Chocolate

Strawberry

Pistachio

Almond

Blackberry

Mint

Cookie

Green Tea

ICE_CREAM_FLAVOR

—————-

Raspberry

Banana

Pineapple

Coconut

15 rows selected.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s