Database Management Flashcards
What is a database in SQL?
is a structured collection of data that is stored, managed, and retrieved using a database management system (DBMS).
What are SQL databases designed to handle?
large volumes of data efficiently and support various operations, including data insertaion, querying, updating, and deletion.
In SQL databases, what is a Table?
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.
In SQL databases, what is a Schema?
the blueprint or architecture of the database that defines how data is organized, including tables, fields, relationships, and constraints.
In SQL databases, what are Columns (Fields)?
The attributes or properties of the entity, where each column has a specific data type and holds a particular type of information.
In SQL databases, what are Rows (Records)?
Individual entries in a table, where each row represents a single instance of the entity
In SQL databases, what is a Primary Key?
A unique identifier for each record in a table, ensuring that each row can be uniquely identified.
In SQL databases, what is a Foreign Key?
A field in one table that uniquely identifies a row of another table, used to establish a relationship between the two tables.
In SQL databases, what are Indexes?
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.
In SQL databases, what are Views?
Virtual tables that provide a way to present data from one or more tables in a specific format without storing the data sepereately.
In SQL databases, what are Stored Procedures?
Precompiled SQL statements that can be executed on the database server, encapsulating complex queries and operations for reuse and efficiency.
In SQL databases, what are Triggers?
SQL code that automatically executes in response to certain events on a particular table or view, such as insertions, updates, or deletions.
What does SQL stand for?
Structured Query Language
What is a Relational Database?
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.
What are some common Relational Database Management Systems?
MySQL
PostgreSQL
Oracle Database
Microsoft SQL Server
SQLite