What is SQL?
SQL stands for Structured Query Language, and it is the standard language for working with relational databases. You use it to create tables, add and update data, and most importantly to query data using SELECT statements. Almost every relational database, from MySQL to PostgreSQL to SQL Server, understands SQL.
What you can do with it
- Query data: read rows with SELECT.
- Insert, update, and delete rows to change data.
- Create and change tables and their structure.
- Control who can access what with permissions.
SELECT name, age
FROM users
WHERE age > 18
ORDER BY age DESC;
A relational database stores data in tables made of rows and columns, and tables can relate to each other through keys. SQL is how you talk to that data.
Keep the definition short and practical. Say SQL is the standard language to query and manage relational databases, then show a simple SELECT. Interviewers want to see you actually think in tables and rows.
Common follow up questions
Related interview questions
Want the full SQL guide?
Read every SQL concept with notes, diagrams, and code in one place. Track your progress as you go.
Open the SQL guide All SQL questions