Data management questions

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

What is a database application?

Software that helps business users interact with database systems.

2
New cards

Who is responsible for securing the database system?

The database administrator.

3
New cards

What does a query processor do?

Interprets queries, creates a plan to modify the database or retrieve data, and returns query results.

4
New cards

What is the purpose of query optimization?

To ensure the most efficient instructions are executed on the data.

5
New cards

What is metadata in the context of databases?

Data about the database, such as column names and the number of rows in each table.

6
New cards

What is SQL?

Structured Query Language, which includes statements that read and write data, create and delete tables, and administer the database system.

7
New cards

What are relational databases good for?

Databases requiring an accurate record of every transaction, such as banking and airline reservation systems.

8
New cards

What is the difference between a simple primary key and a composite primary key?

A simple primary key consists of a single column, while a composite primary key consists of multiple columns.

9
New cards

Define a foreign key.

A column, or group of columns, that refer to a primary key.

10
New cards

What is referential integrity?

A relational rule that requires foreign key values to be either NULL or match primary key values.

11
New cards

What does the INSERT SQL statement do?

Adds rows to a table.

12
New cards

What is a self-join?

A self-join joins a table to itself.

13
New cards

Explain the HAVING clause.

Used with the GROUP BY clause to filter group results.

14
New cards

What is normalization?

The process of eliminating redundancy by decomposing a table into two or more tables.

15
New cards

What is a materialized view?

A view for which view table data is stored at all times, which must be refreshed when changes occur.

16
New cards

What is the purpose of the ALTER TABLE statement?

To add, delete, or modify columns on an existing table.

17
New cards

What are business rules in the context of databases?

Rules based on business policy and specific to a particular database, ensuring data validity.