Database Concepts
Types of Database models
PKs, FKs, Relationships
Relational Database Concepts
SQL Basics and Querying
100

This type of database organizes data into tables, with rows representing records and columns representing fields.

What is a relational database

100

This database model uses a tree-like structure where records are connected in a parent-child hierarchy.

What is a hierarchical model

100

What is the primary key?

What is a key that uniquely identifies each row in a database.

100

What is a table?

What is a collection of rows and columns in a relational database, where data is stored in a structured format.

100

This SQL command is used to retrieve data from one or more tables in a database.

What is SELECT

200

This is the term for a collection of data that is organized so that it can be easily accessed, managed, and updated.

What is a database

200

This database model integrates object-oriented programming concepts, where data is stored as objects rather than tables.

What is the object-oriented database model

200

What is a foreign key?

What is a key used to link two tables by referencing a primary key in another table.

200

What is an attribute?

What is a characteristic or property of an entity, often represented by a column in a table.

200

This SQL clause is used to filter records based on a specified condition, often used in conjunction with the SELECT statement.

What is a WHERE condition

300

In a relational database, this is the term for a single record in a table, often represented as a row.

What is a tuple or row

300

This model allows multiple relationships between entities and organizes them into a graph structure, with nodes and connections.

What is the network model

300

What is a composite key?

What is key consists of more than one field in a table, combining them to form a unique identifier for each row.

300

What is a one-to-many (1:M) relationship?

What is a relationship that is formed when a row in one table is linked to multiple rows at another table.

300

This SQL clause is used to sort the result set of a query either in ascending or descending order.

What is ORDER BY

400

This type of software is used to create, manage, and manipulate databases.

What is a database management system (DBMS)

400

This model stores data as documents, allowing for flexible, semi-structured data storage and retrieval.

What is the document model

400

DAILY DOUBLE

What is cascading?

DAILY DOUBLE

What is a process involving deleting or updating related rows in a tables when a row in another table is deleted or updated.

400

What is a nullable attribute?

What is an attribute is not required to have a value and can be left empty in a database.

400

This SQL function is used to calculate the total sum of a numeric column in a table.

What is SUM()

500

This concept ensures that the data in a database is accurate, consistent, and reliable over time.

What is data integrity

500

This model stores data in a graph structure, using nodes, edges, and properties to represent and store relationships between entities.

What is the graph model

500

How to resolve a many to many relationships?

What is separating two entities and creating two one-to-many (1:n) relationships between them with a third intersect entity.

500

What is data integrity?

What is a condition where the data in a database is correct, up-to-date, and logically consistent according to the database schema.

500

This type of join returns only the rows where there is a match in both tables, excluding rows from either table that do not have a corresponding match.

What is an INNER JOIN

M
e
n
u