What is SQL?

SQL (Structured Query Language) is the standard language used to communicate with relational databases. It allows users to create, read, update, and delete data stored in a structured format.

  • Declarative: You describe what you want, not how to do it.
  • Standardized: SQL is supported by most relational databases like MySQL, PostgreSQL, SQLite, and more.
  • Versatile: Used for querying data, defining schemas, managing permissions, etc.

Example SQL query:

SELECT name, age FROM users WHERE age > 18;
Next →