
SQL Queries -Functions
Authored by Shikha Basniwal
Other
11th - 12th Grade
Used 149+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to find the average value of any column?
Mean()
Avg()
Average()
Sum()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Query to delete all record of table without deleting the table:
DELETE TABLE TABLE_NAME
DELETE FROM TABLE_NAME
DROP TABLE TABLE_NAME
DELETE TABLE FROM TABLE_NAME
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the query :
Select Substring('mysql application',3,3)
app
mysql
application
sql
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following query:
Select round(59999.99,-2);
59999
59900
60000
59990
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function will be used to remove only the trailing spaces from a string?
ltrim()
rtrim()
trim()
all
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank:
___________________ this clause is used to apply condition on all the rows of table.
Where
Having
Order By
Sort By
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Fill in the blank:
_________________ this clause is used with GROUP BY to filter the group of records.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?