SQL Basics
SQL Basics
SQL (Structured Query Language) is used to store, retrieve, update, and manage data in
relational databases. It is the standard language for interacting with databases like MySQL,
PostgreSQL, SQL Server, and Oracle.
7️⃣Joining Tables
sql
CopyEdit
SELECT Employees.Name, Departments.DepartmentName
FROM Employees
JOIN Departments ON Employees.Department = Departments.ID;