Title | |
---|---|
Which one is not the OPTIONAL Clause in SELECT statement?Which one is not the OPTIONAL Clause in SELECT statement?
The answer is:
C. HAVE
|
|
Which statement is TRUE about the WHERE Clause?Which statement is TRUE about the WHERE Clause?
The answer is:
A. In order to retrieve rows, WHERE Clause is used.
|
|
Which statement is TRUE about the GROUP BY Clause?Which statement is TRUE about the GROUP BY Clause?
The answer is:
B. In order to group the rows that share the same property, GROUP BY Clause is used.
|
|
Which statement is TRUE about the HAVING Clause?Which statement is TRUE about the HAVING Clause?
The answer is:
C. In order to select the defined groups by the GROUP BY Clause, HAVING Clause is used.
|
|
Which statement is TRUE about the ORDER BY Clause?Which statement is TRUE about the ORDER BY Clause?
The answer is:
A. In order to return the rows in a specific order, ORDER BY Clause is used.
|
|
Which of the following clause cannot be optional in SQL SELECT Statement?Which of the following clause cannot be optional in SQL SELECT Statement?
The answer is:
D. None of the above
|
|
Which of the following clause is optional in SQL SELECT Statement?Which of the following clause is optional in SQL SELECT Statement?
The answer is:
C. HAVING
|
|
Which clause is used to retrieve a unique element from the table?Which clause is used to retrieve a unique element from the table?
The answer is:
C. Both A) and B)
|
|
What is the functionality of SQL COUNT?What is the functionality of SQL COUNT?
The answer is:
A. It returns the no of record of table
|
|
In SQL SELECT COUNT, one needs to specify the –In SQL SELECT COUNT, one needs to specify the –
The answer is:
A. Column Name
|
|
The SELECT TOP statement shows the limited number of:The SELECT TOP statement shows the limited number of:
The answer is:
A. Rows
|
|
Select the correct syntax of SELECT TOP clause?Select the correct syntax of SELECT TOP clause?
The answer is:
D. SELECT TOP Number
|
|
Using the SQL first() function, one can return the ____ value of the selected columnUsing the SQL first() function, one can return the ____ value of the selected column.
The answer is:
A. First
|
|
Using the SQL last() function, one can return the ______ value of the selected columnUsing the SQL last() function, one can return the ______ value of the selected column.
The answer is:
D. Last
|
|
Using SQL SELECT RANDOM() function, one can return the random –Using SQL SELECT RANDOM() function, one can return the random –
The answer is:
C. Row
|
|
In order to assign a random name to a column or table, which SQL SELECT Clause is used?In order to assign a random name to a column or table, which SQL SELECT Clause is used?
The answer is:
D. AS
|
|
Which function combines the two different columns?Which function combines the two different columns?
The answer is:
C. CONCAT
|
|
What is the difference between HAVING and WHERE clause?What is the difference between HAVING and WHERE clause?
The answer is:
D. All of the above
|
|
What is the difference between MIN and MAX function?What is the difference between MIN and MAX function?
The answer is:
A. MIN function is used to show the minimum data and MAX function is used to show the maximum data.
|
|
In order to sort the records according to the columns, which clause is used?In order to sort the records according to the columns, which clause is used?
The answer is:
C. ORDER BY
|
MCQs
Views
Best Answers
Points