********************
SQL Statement Syntax
********************

This chapter describes the SQL syntax used in Presto.

A :doc:`reference to the supported SQL data types</language>` and other
general characteristics is available in a separate chapter.

Advanced users can take it to the next level by :doc:`using numerous SQL
functions and operators</functions>`.

.. toctree::
    :maxdepth: 1

    sql/alter-schema
    sql/alter-table
    sql/alter-view
    sql/analyze
    sql/call
    sql/comment
    sql/commit
    sql/create-role
    sql/create-schema
    sql/create-table
    sql/create-table-as
    sql/create-view
    sql/deallocate-prepare
    sql/delete
    sql/describe
    sql/describe-input
    sql/describe-output
    sql/drop-role
    sql/drop-schema
    sql/drop-table
    sql/drop-view
    sql/execute
    sql/explain
    sql/explain-analyze
    sql/grant
    sql/grant-roles
    sql/insert
    sql/prepare
    sql/reset-session
    sql/revoke
    sql/revoke-roles
    sql/rollback
    sql/select
    sql/set-role
    sql/set-session
    sql/show-catalogs
    sql/show-columns
    sql/show-create-table
    sql/show-create-view
    sql/show-functions
    sql/show-grants
    sql/show-role-grants
    sql/show-roles
    sql/show-schemas
    sql/show-session
    sql/show-stats
    sql/show-tables
    sql/start-transaction
    sql/use
    sql/values
