Title | |
---|---|
GROUP BY clause is placed before which clause in SQL?GROUP BY clause is placed before which clause in SQL?
The answer is:
C. ORDER BY
|
|
Which one if these is used to put the same value in all the rows?Which one if these is used to put the same value in all the rows?
The answer is:
B. Group by single column
|
|
In order to convert the expression from one to another data type, which SQL Function is used?In order to convert the expression from one to another data type, which SQL Function is used?
The answer is:
C. CAST
|
|
What is the syntax of SQL CAST Function?What is the syntax of SQL CAST Function?
The answer is:
A. CAST (expression AS [data type])
|
|
What is the default length of any data type in the CAST function?What is the default length of any data type in the CAST function?
The answer is:
C. 30
|
|
Select the correct type(s) of SQL CommentsSelect the correct type(s) of SQL Comments.
The answer is:
D. All of the above
|
|
Select the syntax of Single Line Comment |
|
Comments whose starting and ending lines are different are known as –Comments whose starting and ending lines are different are known as –
The answer is:
B. Multi-line Comments
|
|
Select the correct syntax for Multi-line CommentsSelect the correct syntax for Multi-line Comments.
The answer is:
D. /*Line1 Line2*/
|
|
What will be the output of the below SQL statement?What will be the output of the below SQL statement?
The answer is:
A. 25
|
|
What will be the output of the below SQL statement?What will be the output of the below SQL statement?
The answer is:
C. 25.65
|
|
What will be the output of the below SQL statement?What will be the output of the below SQL statement?
The answer is:
A. 2021-10-06 00:00:00.000
|
MCQs
Views
Best Answers
Points