Free online tools to generate, calculate,
convert, format, encode, and play.
 

SQL Command Reference

Browse and search all standard SQL commands, clauses, functions, and operators. Click any command for syntax, details, and usage examples.


Copied!

How It Works

SQL (Structured Query Language) is the standard language for managing and manipulating relational databases. SQL commands are grouped into categories based on the type of operation they perform.

Command Categories
  • DDL (Data Definition Language): Commands that define or modify database structure — CREATE, ALTER, DROP, TRUNCATE
  • DML (Data Manipulation Language): Commands that manipulate data within tables — SELECT, INSERT, UPDATE, DELETE
  • Clauses: Keywords that refine queries — WHERE, ORDER BY, GROUP BY, HAVING, LIMIT
  • Joins: Combine rows from two or more tables — INNER JOIN, LEFT JOIN, RIGHT JOIN, CROSS JOIN
  • Functions: Built-in functions for aggregation, strings, dates, and math
  • Operators: Comparison, logical, and special operators for filtering data
  • DCL & TCL: Data Control Language (GRANT, REVOKE) and Transaction Control Language (COMMIT, ROLLBACK)
Common Use Cases
  • Quick lookup: Find the correct syntax for any SQL command
  • Learning SQL: Browse commands by category with clear examples
  • Code review: Verify proper usage of SQL statements
  • Interview prep: Review key SQL concepts and command families
Tip: Click any command card to expand its syntax and example. Use the Copy button to copy syntax directly to your clipboard.

Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with