Search Header Logo

Structured Query Language (SQL)

Authored by Frank Neubüser

Computers

2nd Grade

Used 2+ times

Structured Query Language (SQL)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to update existing records in a table?

CHANGE

MODIFY

UPDATE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can the result of a SELECT statement contain duplicate rows?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a NULL value represent in SQL?

It is treated as a blank or zero

It is treated as a non-existent value

It is treated as a negative value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In SQL, the truth value of (FALSE OR NULL) is...

TRUE

FALSE

NULL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A relation may have multiple foreign keys.

Yes

No

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You’re creating a table for a pizza delivery app.

Which CHECK constraint makes the least sense?

CHECK (

pizza_size IN ('Small', 'Medium', 'Large'))

CHECK (

delivery_time > CURRENT_TIMESTAMP)

CHECK (

topping_count >= 0)

CHECK (price > 0)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about SQL joins?

An outer join returns only matching rows

An inner join returns the results of the outer join as well as the unmatched rows

A full outer join returns results of an inner join as well as the results of a left and right join

None of these is true

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?