SQL (Structured Query Language) is a language designed to store, retrieve, manage, and manipulate data in relational databases like MySQL, PostgreSQL, and SQL Server.
SQL queries describe what you want from the database (e.g., all customers older than 30), not the step-by-step computation.
SQL is governed by ANSI/ISO standards, though different systems (like MySQL or SQLite) have slight variations.
CREATE: Creates new tables, views, or databasesALTER: Modifies an existing database structureDROP: Deletes tables, views, or databasesSELECT: Retrieves data from the databaseINSERT: Adds new dataUPDATE: Modifies existing dataDELETE: Removes dataGRANT: Gives privileges to usersREVOKE: Removes privilegesCOMMIT: Saves all changes made during the transactionROLLBACK: Undoes changes since the last COMMITAsk the AI if you need help understanding or want to dive deeper in any topic