> ## Documentation Index
> Fetch the complete documentation index at: https://docs.risingwave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SQL reference

> Complete SQL reference for RisingWave streaming database. PostgreSQL-compatible syntax for CREATE MATERIALIZED VIEW, sources, sinks, functions, data types, and system catalogs.

Need help generating SQL? Use [Claude Code](https://claude.ai/claude-code) or [Cursor](https://cursor.com) with the [RisingWave MCP server](https://github.com/risingwavelabs/risingwave-mcp) to generate and run SQL interactively.

Below are detailed SQL references supported by RisingWave.

For the summary of some SQL usage, refer to these [SQL topics](/processing/sql/dynamic-filters).

<CardGroup>
  <Card title="Commands" icon="terminal" href="/sql/commands/overview">
    84 items
  </Card>

  <Card title="Query syntax" icon="code" href="/sql/query-syntax/overview">
    13 items
  </Card>

  <Card title="Data types" icon="table" href="/sql/data-types/overview">
    8 items
  </Card>

  <Card title="Functions and operators" icon="function" href="/sql/functions/overview">
    16 items
  </Card>

  <Card title="Identifiers" icon="id-badge" href="/sql/identifiers">
    Naming restrictions
  </Card>

  <Card title="System catalogs" icon="database" href="/sql/system-catalogs/overview">
    3 items
  </Card>

  <Card title="Psql commands" icon="terminal" href="/sql/psql-commands">
    RisingWave supported commands
  </Card>
</CardGroup>
