Explore tens of thousands of sets crafted by our community.
Relational Database Concepts
25
Flashcards
0/25
SQL
Structured Query Language, a standardized programming language used for managing and manipulating relational databases.
Tuple
Term in relational databases that refers to a single row in a table, which represents a single record.
Normalization
A process of organizing data in a database to reduce redundancy and improve data integrity.
Trigger
A special type of stored procedure that automatically executes in response to certain events on a particular table or view.
Referential Integrity
A database concept that ensures relationships between tables remain consistent and that foreign keys match primary keys after operations such as insert, update, or delete.
Entity-Relationship Model
A conceptual blueprint of a relational database that defines the structure and relationships between data.
Join Operation
A SQL operation used to combine rows from two or more tables based on a related column between them.
Relation
A mathematical term for a table in a relational database; consists of tuples and attributes.
Data Definition Language (DDL)
Subset of SQL commands used to define or modify the structure of a database schema, including creating, altering, and dropping tables and indexes.
Cardinality
In the context of databases, it refers to the uniqueness of data values contained in a particular column (attribute) of a database table.
Schema
The structure of a database system, described in a formal language supported by the database management system (DBMS).
Concurrency Control
A database management activity to ensure multiple transactions are executed in a manner that ensures the consistency of a database, minimizing conflicts and ensuring ACID properties.
Index
A database optimization structure that improves the speed of data retrieval operations on a database table.
Denormalization
The process of adding redundant data to a database to improve read performance, often at the expense of write performance and data integrity.
Primary Key
A unique identifier for each record in a relational database table, which ensures that no two rows can have the same value in this column.
Data Manipulation Language (DML)
Subset of SQL commands used to add, update, or delete data within a database. This includes INSERT, UPDATE, and DELETE commands.
Foreign Key
A field (or collection of fields) in one table that uniquely identifies a row of another table, creating a relationship between the two tables.
View
A virtual table based on the result-set of a SQL statement. It contains rows and columns, just like a real table.
Composite Key
A key composed of two or more columns in a table that can be used to uniquely identify a row in a table when the individual columns do not provide uniqueness.
Attribute
A column in a relational database table that describes a property of the entity represented by the table.
Transaction
A unit of work performed within a database management system which is treated in a coherent and reliable way independent of other transactions.
Data Model
An abstract model that organizes data elements and standardizes how they relate to one another and to the properties of real-world entities.
ACID Properties
Set of properties of database transactions intended to guarantee validity even in the event of errors, power failures, etc. These are Atomicity, Consistency, Isolation, Durability.
Stored Procedure
A set of SQL statements that can be stored in the database and executed repeatedly whenever required.
Candidate Key
A set of attributes that uniquely identify tuples in a table. The primary key is selected from among the candidate keys.
© Hypatia.Tech. 2024 All rights reserved.