SQL Queries -Functions

SQL Queries -Functions

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Database Concepts

Database Concepts

11th Grade

10 Qs

Tin học 12 bài 3

Tin học 12 bài 3

1st - 12th Grade

10 Qs

Python Tkinter

Python Tkinter

12th Grade - University

15 Qs

pagi pagi makan marning , pagi ini siap ada warning!!!

pagi pagi makan marning , pagi ini siap ada warning!!!

12th Grade

15 Qs

Linux Terminal Basics Quiz

Linux Terminal Basics Quiz

12th Grade

10 Qs

The CREATE TABLE Statement

The CREATE TABLE Statement

11th Grade

10 Qs

PowerPoint 3

PowerPoint 3

9th - 12th Grade

14 Qs

SQL Subquery Quiz

SQL Subquery Quiz

11th Grade

10 Qs

SQL Queries -Functions

SQL Queries -Functions

Assessment

Quiz

Other

11th - 12th Grade

Hard

Created by

Shikha Basniwal

Used 147+ 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?