Database - Introduction to SQL - Discussion

Discussion Forum : Introduction to SQL - General Questions (Q.No. 28)
28.
To define what columns should be displayed in an SQL SELECT statement:
use FROM to name the source table(s) and list the columns to be shown after SELECT.
use USING to name the source table(s) and list the columns to be shown after SELECT.
use SELECT to name the source table(s) and list the columns to be shown after USING.
use USING to name the source table(s) and list the columns to be shown after WHERE.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
6 comments Page 1 of 1.

Vedanand Singh said:   8 years ago
Explain it.

Sandy said:   1 decade ago
Use the following:

SELECT col_1, col_2, . . . , col_n FROM table_name;

Ayub said:   1 decade ago
We use SELECT to Display the DATA of COLUMN(S) Of Table..
e.g. SELECT COLUMN1,COLUMN2,COLUMN3,.....,COLUMNn from TABLENAME;

OR

SELECT * from TABLENAME;

where * is used to show the data od ALL COLUMNS within a Table.

Vinay(bml) said:   1 decade ago
We use select to display the table ?

Srilatha said:   1 decade ago
Select ename, sal from emp where deptno=10;.

Sangeeta said:   1 decade ago
Explanation please.

Post your comments here:

Your comments will be displayed after verification.