SQL (Part 1/2)

SQL (Part 1/2)

2nd Grade

8 Qs

quiz-placeholder

Similar activities

Bitmap v Vector Images

Bitmap v Vector Images

KG - University

10 Qs

Pemrograman Android KD 3.28/4.28

Pemrograman Android KD 3.28/4.28

1st Grade - Professional Development

10 Qs

HTML BASICO

HTML BASICO

1st - 4th Grade

12 Qs

G2_MS Word Basic Parts

G2_MS Word Basic Parts

2nd Grade

10 Qs

Respiratory System

Respiratory System

KG - University

10 Qs

Butterfly Life Cycle and Scratch, Jr.

Butterfly Life Cycle and Scratch, Jr.

KG - University

10 Qs

Offline Search engines

Offline Search engines

2nd Grade

10 Qs

U26 Q7 - CIDR

U26 Q7 - CIDR

KG - University

12 Qs

SQL (Part 1/2)

SQL (Part 1/2)

Assessment

Quiz

Computers

2nd Grade

Practice Problem

Medium

Created by

Frank Neubüser

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The SQL command to create a database schema is...

CREATE SCHEMA

CREATE TABLE

CREATE DATABASE

CREATE INDEX

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

TRUE

FALSE

NULL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Which column should NOT allow NULL values?

pizza_size VARCHAR(20)

delivery_address VARCHAR(100)

extra_cheese BOOLEAN

customer_comments TEXT

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You’re creating a table for a library.

Which column should be the primary key?

book_title VARCHAR(100)

author_name VARCHAR(100)

book_id INT

publication_date DATE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You’re creating a table for a movie database.

Which column should be a foreign key?

movie_title VARCHAR(100)

release_year INT

director_id INT

genre VARCHAR(50)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A relation may have multiple foreign keys.

Yes.

No.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each table can contain more than one primary key.

True

False

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?