Learning library
A practical guide for your next query.
Start with the problem you need to solve: learn a SQL pattern, match a database dialect, check a result, or connect your application to generation.
Try TTSQL freeLearn the query patterns
The worked examples use one small order schema to explain joins, date boundaries, missing relationships and window functions. Read the explanation as well as the SQL: most reporting errors are errors in meaning.
Choose the database that will parse your SQL
Each guide covers connection prerequisites, identifier rules and three dialect-specific examples. Selecting a SQL dialect does not guarantee that a deployment has its required driver, cloud identity or network access configured.
Check meaning before trusting results
A query can execute and still count the wrong customers. Use a review checklist, hand-checked edge cases and a representative question set to measure correctness for your own schema.
Integrate SQL generation
The API accepts a prompt and project_id with an x-api-key header. The language guides show timeouts, response validation and server-side secret handling. Generation returns executed: false; a separate manual Run action is available in the workspace.
Explore by database
Answers before you connect a database.
Which guide should I read first?
If you are learning SQL, start with the examples. If you already have a query but it fails to parse, choose your database guide. For an application integration, read the API reference and then the Python or JavaScript guide.
Bring your next question to TTSQL.
Start with one PostgreSQL project and 20 free requests a day. Explore your data, build a report, or integrate the API.