Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1CREATE TABLE student | AA singular, lower_case table name with no spaces | |
| 2CREATE DATABASE school_library | Bstudent, class_room, teacher | |
| 3Table names should be singular nouns because each table describes one type of thing | CA database name in lower_case that uses an underscore instead of a space | |
| 4Every table in the database uses the same style | DThe table name contains a space, so it breaks the rule of no spaces. Use student_mark instead. | |
| 5CREATE TABLE Student Marks | ECREATE TABLE teacher | |
| 6student, Teachers, class-room | FThe names use mixed styles, a plural, and a special character (-). Use student, teacher, class_room instead. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
naming convention — A consistent rule for naming a database and its tables, such as a singular noun in lower_case with no spaces or special characters, e.g. student, applied in the same style for every table.CREATE TABLE student (
student_id INTEGER PRIMARY KEY
);CREATE DATABASE school_records;CREATE TABLE teacher (teacher_id INTEGER);INSERT INTO teacher (teacher_id) VALUES (1);CREATE DATABASE school;
USE school;