Which SQL keyword is used to create a new database in MySQL?

S2_NIGHT CLASS

Quiz
•
Other
•
University
•
Medium
AMREEN FATHIMA D
Used 1+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CREATE
MAKE
NEW
DATABASE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to create a new table in MySQL?
CREATE TABLE
ADD TABLE
INSERT TABLE
MAKE TABLE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would you use to store a date in MySQL?
INT
VARCHAR
DATE
FLOAT
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To define a primary key in MySQL, you would use which constraint?
PRIMARY KEY
UNIQUE
INDEX
CONSTRAINT
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause is used to specify a foreign key constraint in MySQL?
FOREIGN KEY
CONSTRAINT
REFERENCES
FOREIGN CONSTRAINT
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In MySQL, which relationship type ensures that a foreign key can be NULL?
One-to-One
One-to-Many
Many-to-One
Many-to-Many
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to remove a table in MySQL?
REMOVE TABLE
DROP TABLE
DELETE TABLE
REMOVE
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
4. Databases

Quiz
•
University
21 questions
QUIZ NORMALIZATION

Quiz
•
University
14 questions
Quiz Sistem Basis Data 2PITA(16/06/2022)

Quiz
•
University
12 questions
Kahoot 2 - Banco de Dados I

Quiz
•
University
15 questions
3450 Web Design

Quiz
•
University
17 questions
SQL Data Manipulation

Quiz
•
University
19 questions
SQL Quiz

Quiz
•
University
19 questions
MIDTERM BLIS-RE EXAM

Quiz
•
University
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