SQL (Part 1/2)

SQL (Part 1/2)

2nd Grade

8 Qs

quiz-placeholder

Similar activities

P2KP Database Access Control

P2KP Database Access Control

1st - 3rd Grade

10 Qs

SYBFM Quizizz 4

SYBFM Quizizz 4

KG - 5th Grade

10 Qs

Lenguaje Sql

Lenguaje Sql

1st - 4th Grade

10 Qs

TIKKNOWING

TIKKNOWING

1st Grade - Professional Development

10 Qs

Dasar-dasar Pemrograman

Dasar-dasar Pemrograman

1st - 3rd Grade

10 Qs

base de datos

base de datos

1st - 3rd Grade

10 Qs

What is the Icon?

What is the Icon?

KG - 12th Grade

10 Qs

SQL

SQL

1st - 3rd Grade

10 Qs

SQL (Part 1/2)

SQL (Part 1/2)

Assessment

Quiz

Computers

2nd Grade

Hard

Created by

Frank Neubüser

Used 2+ times

FREE Resource

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Your friend accidentally runs

DROP TABLE users;

instead of

CREATE TABLE users;.

What happens?

The table is created successfully.

The table is deleted forever.

The table is renamed to "users_backup".

The database explodes.