Databases Flashcards

1
Q

What is a database?

A

A database is an organized collection of data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is SQL?

A

SQL stands for Structured Query Language, which is used for managing and manipulating relational databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a primary key?

A

A primary key is a unique identifier for each record in a database table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is normalization in databases?

A

Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a foreign key?

A

A foreign key is a field in a database table that links to the primary key in another table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a relational database?

A

A relational database is a type of database that stores data in tables and establishes relationships between them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is ACID in database transactions?

A

ACID stands for Atomicity, Consistency, Isolation, and Durability, which are properties that guarantee database transactions are processed reliably.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a database index?

A

A database index is a data structure that improves the speed of data retrieval operations on a database table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a composite key?

A

A composite key is a combination of two or more columns that uniquely identifies a record in a database table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly