Search Header Logo

SQL Review

Authored by Rowan Schaefer

Mathematics

University

Used 4+ times

SQL Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL keyword is used to sort the results?

SORT

ORDER BY

ARRANGE

ORGANIZE

2.

HOTSPOT QUESTION

1 min • 1 pt

Which column can I use to join the Unit table to the Tenant table?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One benefit of a relational database is its ability to

Store a LOT of unstructured data efficiently

Store structured data efficiently, and establish relationships between different tables

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

You might find yourself often using two types of joins... which two are they?

Inner join

Outer Join

Cross join

Left join

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

A primary key must be... (select all that apply)

Unique

Continuous

Non-null

Duplicated

Answer explanation

A primary key must be unique and non-null.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the SQL LEFT JOIN keyword do?

It returns all records from the left table, and the matched records from the right table.

It returns all records from the right table, and the matched records from the left table.

It returns records that have matching values in both tables.

It returns all records from both tables, and fills in NULLs for missing matches.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a characteristic of a primary key?

A primary key is a foreign key in a database table.

A primary key can have duplicate values.

A primary key is a unique identifier for a record in a database table.

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?