> For the complete documentation index, see [llms.txt](https://docs.skydeck.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skydeck.ai/de/genstudio-workspace/tools/sql-assistant/how-to-use.md).

# Wie man es benutzt

Um mit SQL Assistant zu beginnen, müssen Sie ein Data Definition Language (DDL) Segment und eine Aufgabenbeschreibung bereitstellen.

* **DDL** **Segment** – eine Teilmenge von SQL-Befehlen, Objekten, Attributen und Einschränkungen, die sich auf die Definition oder Modifizierung der Struktur von Datenbankobjekten konzentriert.
* **Aufgabenbeschreibung** – Anweisungen, die sich auf das DDL beziehen und SQL Assistant mitteilen, wobei Sie Hilfe benötigen.

<figure><img src="/files/HqmZN6Dh4EeYbqhfkfvV" alt="sql assistant 2"><figcaption></figcaption></figure>

Die standardmäßige Platzhalteraufforderung, die geladen wird, wann immer Sie einen neuen Chat mit SQL Assistant erstellen, modelliert, wie Sie Ihre eigenen Aufforderungen erstellen:

* Die DDL-Anweisung erstellt eine Tabelle namens 'transactions' mit 5 Spalten (transaction\_id, customer\_id, transaction\_date, amount und description).
* Die Aufgabenbeschreibung fordert SQL Assistant auf, eine Abfrage bereitzustellen, die alle Transaktionen über 1000 Dollar ausgibt.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.skydeck.ai/de/genstudio-workspace/tools/sql-assistant/how-to-use.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
