Search Header Logo

Database quiz 3 SQL

Authored by W Deng

Computers

12th Grade

Used 3+ times

Database quiz 3 SQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of != operator?

Less than

Greater than

Equal to

Not equal to

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is used to display all the fields of a table?

SELECT * FROM table_name

CREATE * FROM table_name

DISPLAY * FROM table_name

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are Boolean operators?

AND, OR and NOT

ADD, SUB, MULT and DIV

ORDER BY and WHERE

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following clauses is used to select records while displaying results using a SELECT statement?

UPDATE

ORDER BY

WHERE

WHICH

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operator is used with wildcard characters?

BETWEEN … AND …

IN

LIKE

IS NULL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete this query to display records in alphabetical order of field ‘StudentName’ from the table ‘StudentDetails’: SELECT * FROM StudentDetails ………………...

ORDER BY StudentName

ORDER BY StudentName Desc

WHERE StudentName = Asc

WHERE StudentName = Desc

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to combine rows from two or more tables based on a field that is common to the tables?

SELECT & JOIN

SELECT & COMBINE

MERGE

SELECT & MERGE

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?