Skip to content
  • Home
  • Functions
    • Aggregate Functions
    • Window Functions
    • String Functions
    • Date Functions
    • Math Functions
  • SQL Cheat Sheet
  • Playground

Home ยป SQL Reference

SQL Reference

SQL statements #

  • SELECT
  • DISTINCT
  • WHEREINNER JOIN
  • LEFT JOIN
  • SELF-JOIN
  • GROUP BY
  • HAVING
  • ORDER BY
  • UNION
  • INTERSECT
  • MINUS
  • INSERT
  • UPDATE
  • DELETE
  • CREATE TABLE
  • ALTER TABLE
  • DROP TABLE
  • PRIMARY KEY
  • FOREIGN KEY
  • NOT NULL
  • CHECK
  • UNIQUE
  • DEFAULT

SQL Operators #

  • AND
  • OR
  • NOT
  • LIKE
  • BETWEEN
  • IS NULL
SQL Functions
Previously
SQL Functions
Up Next
About
About

Getting Started

  • What Is SQL
  • SQL Syntax

Selecting Data

  • SELECT

Sorting Rows

  • ORDER BY Clause

Limiting Rows

  • DISTINCT
  • LIMIT
  • FETCH

Filtering Data

  • WHERE Clause
  • AND Operator
  • OR Operator
  • BETWEEN Operator
  • IN Operator
  • LIKE Operator
  • IS NULL Operator
  • NOT Operator

Joining Tables

  • Inner Join
  • Left Join
  • Right Join
  • Self Join
  • Full Outer Join
  • Cross Join

Grouping Rows

  • GROUP BY
  • HAVING
  • GROUPING SETS
  • ROLLUP
  • CUBE

Set Operations

  • UNION
  • INTERSECT
  • MINUS

Managing Tables

  • CREATE TABLE Statement
  • Primary Key
  • NOT NULL Constraint
  • DROP TABLE Statement
  • Identity Column
  • ALTER TABLE Statement
  • ADD COLUMN
  • DROP COLUMN
  • TRUNCATE TABLE
  • Foreign Key Constraint
  • UNIQUE Constraint
  • CHECK Constraint
  • ALTER TABLE

Modifying Data

  • INSERT
  • UPDATE
  • DELETE

Views & Triggers

  • Views
  • Triggers

Conditional Expressions & Functions

  • CASE Expression
  • COALESCE Function
  • NULLIF Function

Subquery

  • Subquery
  • Correlated Subquery
  • ALL Operator
  • ANY Operator
  • EXISTS Operator

SQL Aggregate Functions

  • AVG Function
  • ANY_VALUE Function
  • COUNT Function
  • MAX Function
  • MIN Function
  • SUM Function

About SQL Tutorial

SQLTutorial.org helps you master the SQL language quickly through the use of simple yet practical examples, accompanied by easy-to-understand explanations.

Latest Tutorials

  • SQL RIGHT JOIN
  • SQL RPAD Function
  • SQL LPAD Function
  • SQL RIGHT Function
  • SQL LEFT Function

Site Links

  • Home
  • About
  • Contact
  • Privacy Policy
Copyright © 2009 - Present by www.sqltutorial.org. All Rights Reserved.