SQL Queries -Functions

Quiz
•
Other
•
11th - 12th Grade
•
Hard
Shikha Basniwal
Used 147+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Economic Systems

Quiz
•
8th Grade - University
10 questions
AL7KAMC

Quiz
•
KG - University
15 questions
Microsoft Word Certification Review

Quiz
•
12th Grade
10 questions
SQL Basics Quiz

Quiz
•
12th Grade
15 questions
Mastering SQL Basics and DDL Commands

Quiz
•
11th Grade
10 questions
SKT5-2.1.3 SQL: MEMBINA PANGKALAN DATA

Quiz
•
11th Grade
5 questions
Bahagia Menjadi Progremer

Quiz
•
9th - 12th Grade
15 questions
Sentencias de BD

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade