SQL (Structured Query Language) is a domain-specific programming language used for managing and manipulating relational databases. It is the standard language for interacting with databases to perform tasks such as retrieving, inserting, updating, and deleting data. SQL allows users to create and manage database structures, define relationships between tables, and query data using a series of commands.
- Tables: Data is organized in rows and columns.
- Columns: Define the structure of the table (e.g., id, name, salary).
- Rows: Represent individual records in a table.
- Primary Key: A unique identifier for each record.
- Foreign Key: Establishes relationships between table