Database Modeling
Database Relationships
Basic SELECT Statements
Constraints
Join Commands
100

This is the process of creating a data model for the data to be stored in a database.

What is database modeling?

100

This type of relationship exists when a single record in one table is related to multiple records in another table.

What is a one-to-many relationship?

100

This SQL command is used to retrieve data from a database.

What is SELECT?

100

This constraint ensures that all values in a column are unique.

What is UNIQUE?

100

This type of join returns records that have matching values in both tables.

What is INNER JOIN?

200

This type of diagram is used to visually represent the structure of a database.

What is an Entity-Relationship Diagram (ERD)?

200

This type of relationship exists when multiple records in one table are related to multiple records in another table.

What is a many-to-many relationship?

200

This clause is used to specify the table from which to retrieve data.

What is FROM?

200

This constraint ensures that a column cannot have a NULL value.

What is NOT NULL?

200

This type of join returns all records from the left table and the matched records from the right table.

What is LEFT JOIN?

300

This term describes the unique identifier for a record in a table.

What is a primary key?

300

This type of relationship exists when a single record in one table is related to a single record in another table.

What is a one-to-one relationship?

300

This clause is used to filter records that meet a certain condition.

What is WHERE?

300

This constraint is used to enforce a link between two tables.

What is FOREIGN KEY?

300

This type of join returns all records from the right table and the matched records from the left table.

What is RIGHT JOIN?

400

This type of database model organizes data into tables.

What is a relational database model?

400

This type of key is used to establish and enforce a link between the data in two tables.

What is a foreign key?

400

This clause is used to sort the result set in ascending or descending order.

What is ORDER BY?

400

This constraint ensures that the value in a column or a group of columns is unique across the entire table.

What is PRIMARY KEY?

400

This type of join returns all records when there is a match in either left or right table.

What is FULL OUTER JOIN?

500

This notation, named for its distinctive symbols, is used to represent the relationships between entities in a database.

What is Crow's Foot Notation?

500

This term describes the table that connects two tables in a many-to-many relationship.

What is a junction table?

500

This keyword is used in SQL to combine multiple conditions in a WHERE clause, ensuring that all conditions must be true.

What is AND?

500

This constraint is used to specify a default value for a column.

What is DEFAULT?

500

This is the basic syntax for performing an INNER JOIN in SQL.

What is SELECT columns FROM table1 INNER JOIN table2 ON table1.column = table2.column?

M
e
n
u