Database
A database is an organized collection of data stored so it can be easily searched, updated, and managed. A relational database arranges that data into tables made of rows and columns.
SQL
A database management system (DBMS) is the software that runs the database and handles your SQL commands — examples include PostgreSQL, MySQL, and SQLite. The DBMS takes care of storage, security, and making sure many users can access the data safely at once.
Relational databases are the most common type. They store related information across multiple tables and let you link those tables together with keys.
Examples
SQL
CREATE DATABASE shop;
CREATE TABLE products (id INT, name TEXT);Output:
Database and table created.