Computer Science
Which of the following keywords will you use in the following query to display all the values of the column dept_name ?
SELECT ............... dept_name FROM Company;
- All
- From
- Distinct
- Name
SQL Queries
1 Like
Answer
All
Reason — The All
keyword is used to display all values of the column.
Answered By
3 Likes
Related Questions
Consider following SQL statement. What type of statement is this?
SELECT * FROM employee
- DML
- DDL
- DCL
- Integrity constraint
Which of the following keywords will you use in the following query to display the unique values of the column dept_name ?
SELECT ............... dept_name FROM Company;
- All
- From
- Distinct
- Name
The …………… clause of SELECT query allows us to select only those rows in the result that satisfy a specified condition.
- Where
- from
- having
- like
…………… clause of the following query must be added with keyword …………… to display the fields given in the select list as per a given condition.
SELECT ID, name, dept name, salary * 1.1 WHERE instructor = 1005 ;
- where, having
- select, from
- where, from
- where, select