SQL Queries -Functions

SQL Queries -Functions

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

PERBAIKAN UAS DATABASE 23-24

PERBAIKAN UAS DATABASE 23-24

12th Grade

10 Qs

SQL Basics

SQL Basics

12th Grade

10 Qs

Simple Easy Basic Lua Quiz

Simple Easy Basic Lua Quiz

4th Grade - Professional Development

10 Qs

Quiz 1

Quiz 1

11th Grade

10 Qs

Unit IV CAD Terms

Unit IV CAD Terms

9th - 12th Grade

12 Qs

Draw Toolbar Commands #2

Draw Toolbar Commands #2

7th Grade - University

10 Qs

JROTC Drill Test

JROTC Drill Test

9th - 12th Grade

15 Qs

MWS 2016: 1.01-1.02 Vocabulary

MWS 2016: 1.01-1.02 Vocabulary

9th - 12th Grade

12 Qs

SQL Queries -Functions

SQL Queries -Functions

Assessment

Quiz

Other

11th - 12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?