
sql functions

Quiz
•
Computers
•
KG - 12th Grade
•
Medium
Sandhya Kk
Used 20+ times
FREE Resource
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(*)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Taller de Base de Datos - Competencia 2

Quiz
•
University
15 questions
Chapter 9 - Databases (IGCSE Computer Science)

Quiz
•
9th - 12th Grade
13 questions
SQL: DML DDL DCL

Quiz
•
11th - 12th Grade
15 questions
SQL JOIN, Order By, Group By

Quiz
•
12th Grade
14 questions
MOAC Excel 2016 Lesson 05

Quiz
•
8th - 12th Grade
20 questions
DBMS LAB

Quiz
•
University
10 questions
Sains Komputer SQL Tingkatan 5

Quiz
•
6th Grade - University
10 questions
Quiz 14 Creare

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade