sql functions

sql functions

KG - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Luyện tập tin học K5_buổi 3

Luyện tập tin học K5_buổi 3

5th Grade

16 Qs

HARDWARE AND SOFTWARE

HARDWARE AND SOFTWARE

2nd - 10th Grade

10 Qs

Q1 M 2 - TOPIC 2 / Check your understanding

Q1 M 2 - TOPIC 2 / Check your understanding

10th Grade

10 Qs

ICT - Networks and communication

ICT - Networks and communication

9th Grade

11 Qs

Class 1 L-  3 & 4.  CW Practice questions

Class 1 L- 3 & 4. CW Practice questions

1st Grade

20 Qs

ICT and SST Week Quiz_Grade 6

ICT and SST Week Quiz_Grade 6

6th Grade

20 Qs

DWDM-2

DWDM-2

University

20 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

sql functions

sql functions

Assessment

Quiz

Computers

KG - 12th Grade

Practice Problem

Medium

Created by

Sandhya Kk

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?