Search Header Logo

Multipletables, functions, sub-queries

Authored by Priteshkumar Bhimani

Special Education, Education, Computers

University

Used 4+ times

Multipletables, functions, sub-queries
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Which function will be used to find largest value from the column?

max()

large()

least()

all

4.

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

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Use figure for data.

table name = order

What will be the output of following query:

select * from order where oederID = 10248;

all data

only one row which has orderID = 10248

it will return only 10248

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which clause is used when we want to use aggregate functions in conditions?

Where

Group By

Having

Both 2 and 3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function has been used for convert your letter into uppercase?

Upercase()

Uconvert()

Ucase()

Uletter

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?