Database Management Flashcards

1
Q

What is a database in SQL?

A

is a structured collection of data that is stored, managed, and retrieved using a database management system (DBMS).

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

What are SQL databases designed to handle?

A

large volumes of data efficiently and support various operations, including data insertaion, querying, updating, and deletion.

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

In SQL databases, what is a Table?

A

the primary structure within a database, where data is organized into rows and columns. Each table represents a specific entity, such as customers, products, or orders.

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

In SQL databases, what is a Schema?

A

the blueprint or architecture of the database that defines how data is organized, including tables, fields, relationships, and constraints.

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

In SQL databases, what are Columns (Fields)?

A

The attributes or properties of the entity, where each column has a specific data type and holds a particular type of information.

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

In SQL databases, what are Rows (Records)?

A

Individual entries in a table, where each row represents a single instance of the entity

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

In SQL databases, what is a Primary Key?

A

A unique identifier for each record in a table, ensuring that each row can be uniquely identified.

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

In SQL databases, what is a Foreign Key?

A

A field in one table that uniquely identifies a row of another table, used to establish a relationship between the two tables.

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

In SQL databases, what are Indexes?

A

Structures that improve the sped of data retrieval operations on a database table at thecost of additional storage space and potentially slower data modification operations.

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

In SQL databases, what are Views?

A

Virtual tables that provide a way to present data from one or more tables in a specific format without storing the data sepereately.

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

In SQL databases, what are Stored Procedures?

A

Precompiled SQL statements that can be executed on the database server, encapsulating complex queries and operations for reuse and efficiency.

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

In SQL databases, what are Triggers?

A

SQL code that automatically executes in response to certain events on a particular table or view, such as insertions, updates, or deletions.

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

What does SQL stand for?

A

Structured Query Language

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

What is a Relational Database?

A

are a type of database that organizes data into tables, which are structured in a way that allows them to be easily related to each other. Each table in a relational database represents a specific entity (like customers, products, or orders) and consists of rows (records) and columns (fields). The relational model is based on the concept of relation, where data is stored in relations (tables), and relationships between the tables are defined through foreign keys.

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

What are some common Relational Database Management Systems?

A

MySQL
PostgreSQL
Oracle Database
Microsoft SQL Server
SQLite

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

What is SQL?

A

is a standard programming language used for managing and manipulating relational databases. SQL is essential for tasks such as querying data, updating records, and managing database structures.

16
Q

What are a few SQL commands that define the structure of the database?

A

CREATE
ALTER
DROP

17
Q

CREATE, ALTER, DROP are a few commands from what SQL language?

A

Data Definition Language

18
Q

What commands in SQL manipulate the data within the databse?

A

SELECT
INSERT
UPDATE
DELETE

19
Q

SELECT, INSERT, UPDATE, DELETE are commands for what SQl language?

A

Data Manipulation Language

20
Q

What SQL commands control access to the data within the database?

A

GRANT
REVOKE

21
Q
A