Table Joins and Sorting Data
-Landon
SQL Basics and Querying
-Ronnie
Primary Keys, Foreign Keys, and Relationship
-Everyone
Tracking Data Changes and Normalization
-Sam
Relational Database Concepts
-Taylor
100

To reverse the order of sorted columns you use the ____ keyword.

Descending, DESC

100

What are the 3 different types of SQL?

DDL, DML, and TCL

100

What does it mean for an attribute to be mandatory or optional?

Mandatory can’t be null, Optional can

100

When a relation must have no composite, or multi-valued attributes.

First Normal Form

100

A ____ is equivalent to column in a table. It is an element that qualifies or describes and Entity?

Attribute

200

By default, nulls are sorted ____ in ascending order.

Last

200

The keyword to delete a table or column.

Drop

200

An attribute whose value uniquely identifies an entity instance

Unique Identifier, UID

200

When every non-prime attribute is fully functionally dependent on the candidate key.

Second Normal Form

200

What is the fundamental building block of a relational database, where data is organized into rows and columns?

Table

300

You can give a table a temporary name by using an _____.

Alias

300

Keyword to show query results by ascending order.

ASC

300

What is a Candidate UID? 

Any attributes or combination of attributes that can identify a row of data.

300

When a relation has no transitive dependency.

Third Normal Form

300

What type of relationship exists when one record in a table can be associated with multiple records in another table?

One to many relationship

400

A join where the condition has an equality operator. Combines rows that have equivalent values.

Equijoin

400

Shows nulls in data entries before anything else.

NULLS FIRST

400

The formula of an ERDish statement

Entity 1 [Cardinality] Relationship to Entity 2 [Cardinality]

400

Records showing changes in a database, could be known as the history.

Audit Trail

400

What is the term for a set of rules that ensure data consistency and accuracy within a database?

Data Integrity

500

A join where the condition is not an equality operator. Combines rows that have non equal values.

Non-Equijoin
500

Shows every entry in the right table even if there is nothing in the left table.

Right Join

500

Foreign Keys must match an existing primary key value or else can be null.

Referential Integrity

500

What is the process of organizing data to minimize redundancy and dependency, ensuring efficiency, consistency, and integrity?

Normalization

500

What is the language used to interact with a relational database, allowing users to retrieve, insert, update, and delete data?

SQL, Structured Query Language