SQL (Part 1/2)

SQL (Part 1/2)

2nd Grade

8 Qs

quiz-placeholder

Similar activities

Encapsulation

Encapsulation

2nd - 7th Grade

10 Qs

QUIZ:Changing the Background to Enhance the Subject of the Image

QUIZ:Changing the Background to Enhance the Subject of the Image

2nd Grade

10 Qs

HTML Quiz

HTML Quiz

KG - University

10 Qs

Paint

Paint

2nd - 3rd Grade

11 Qs

Android Lec1

Android Lec1

1st - 3rd Grade

10 Qs

Akadmeia arduino #1

Akadmeia arduino #1

1st - 3rd Grade

10 Qs

tuần 25 lớp 4

tuần 25 lớp 4

1st - 5th Grade

13 Qs

ôn tập 1 lớp 5

ôn tập 1 lớp 5

1st - 5th Grade

13 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?