Introduction to databases

A database is persistent storage that can be used for specific applications. It’s usually used to store a lot of data from a web application, including posts from a social media application and products from an e-commerce application. A database can also log data for debugging purposes. There are two main types of databases, relational and non-relational.

Relational database

A relational database is a database that is structured relationally using tables that can be interconnected using relation mechanisms. In relational databases, a single record or data is stored inside a table that contains many columns. The table inside the relational database is illustrated in this image.

Get hands-on with 1200+ tech skills courses.