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

# Query Syntax

> Guidelines and structure for writing queries effectively.

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
[ WITH ... ]
SELECT
   [TOP] ... [EXCEPT]
[ FROM ...
   [ JOIN ... ]
   [ VALUES ... ]
]
[ WHERE ... ]
[ GROUP BY ...
   [ HAVING ... ] ]
[ ORDER BY ... [ NULLS FIRST | NULLS LAST ]]
[ LIMIT ...[OFFSET] ]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.