SQL Queries -Functions

Quiz
•
Other
•
11th - 12th Grade
•
Hard
Shikha Basniwal
Used 148+ 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
15 questions
Learn 2 Lead - Knowledge Check

Quiz
•
9th - 12th Grade
10 questions
Arduino - Exercise 5 Simple Digital Input

Quiz
•
11th Grade
15 questions
[U1C3L2] Stationary Movements and Marching Techniques

Quiz
•
9th - 12th Grade
10 questions
Online Shopping Process Review Game

Quiz
•
12th Grade
11 questions
Leadership Principles (Marines)

Quiz
•
5th Grade - Professio...
10 questions
SQL Multitables Quiz

Quiz
•
12th Grade
12 questions
SEO Overview

Quiz
•
KG - 12th Grade
10 questions
Minecraft Java Edition

Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade