The SQL command to create a database schema is...
SQL (Part 1/2)

Quiz
•
Computers
•
2nd Grade
•
Hard
Frank Neubüser
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
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.
Similar Resources on Quizizz
13 questions
Tin 12 - Bài 3: Giới thiệu MS Access

Quiz
•
1st - 12th Grade
10 questions
Intro to database

Quiz
•
1st - 10th Grade
13 questions
Structured Query Language (SQL)

Quiz
•
2nd Grade
10 questions
Database Fundamentals

Quiz
•
KG - University
10 questions
Databases - DBMS

Quiz
•
1st - 11th Grade
10 questions
Advanced SQL

Quiz
•
KG - University
10 questions
Cybersecurity Fundamentals Week 5 Quiz

Quiz
•
KG - University
10 questions
PL/SQL

Quiz
•
1st - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
American Flag

Quiz
•
1st - 2nd Grade
10 questions
Identifying equations

Quiz
•
KG - University
10 questions
2nd Grade math review

Quiz
•
2nd Grade
26 questions
Place Value Review

Quiz
•
2nd Grade
25 questions
2.4A Add Subtract within 20 quickly: set 3

Quiz
•
1st - 3rd Grade
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
15 questions
Music 2016

Quiz
•
KG - 12th Grade
44 questions
logos

Quiz
•
KG - University