
sql functions
Quiz
•
Computers
•
KG - 12th Grade
•
Practice Problem
•
Medium
Sandhya Kk
Used 20+ times
FREE Resource
Enhance your content in a minute
15 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
What will be the output of the query :
Select Substring('mysql application',3,3)
app
mysql
application
sql
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of following query:
Select length(trim(' exam '));
exam
exam
6
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are the five built-in functions provided by SQL?
A. COUNT, SUM, AVG, MAX, MIN
B. SUM, AVG, MIN, MAX, MULT
C. SUM, AVG, MULT, DIV, MIN
D. SUM, AVG, MIN, MAX, NAME
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The SQL statement
SELECT ROUND(45.926, -1) FROM DUAL;
A) is illegal
B) prints garbage
C) prints 045.926
D) prints 50
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The string function that returns the index of the first occurrence of substring is _____________
a) INSERT()
b) INSTR()
c) INSTRING()
d) INFSTR()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to count the number of rows in a SQL query?
COUNT()
NUMBER()
SUM()
COUNT(*)
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?
Similar Resources on Wayground
16 questions
Quiz on List and Tuples
Quiz
•
University
10 questions
Grade 11 Term 4 Practice 2
Quiz
•
11th Grade
20 questions
Final-Computer P.6
Quiz
•
6th Grade
15 questions
KS3_Data Representations (from clay to silicon)
Quiz
•
1st - 3rd Grade
10 questions
First step to Internet 5B1
Quiz
•
5th Grade
20 questions
class 1 computer revision final
Quiz
•
1st Grade
11 questions
Gr3-Scratch - Revision
Quiz
•
3rd - 5th Grade
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
