Data & Analytics

What is Relational Database?

Quick answer

A database that stores data in tables of rows and columns and links related tables through shared keys, usually queried with SQL.

Relational Database, explained

The relational model was described by Edgar F. Codd at IBM in 1970. In a relational database, each table holds one type of record, such as customers or orders, and relationships are expressed through keys. For example, each order row stores a customer ID that points to a row in the customers table. Popular systems include PostgreSQL, MySQL, Microsoft SQL Server, and Oracle Database.

Relational databases enforce structure and support transactions, which ensure that related changes either all succeed or all fail. This makes them well suited to accounting, inventory, bookings, and other systems where accuracy matters. An online shop deducting stock and recording a payment can rely on a transaction to avoid half-finished updates. NoSQL databases offer alternatives for flexible or very high-volume data.

Related terms

Guides that mention Relational Database