# Query Design Templates

{% hint style="info" %}
Click on the preview to access download links etc. (May be slow to display)
{% endhint %}

{% tabs %}
{% tab title="DELETE Query" %}
{% embed url="<https://docs.google.com/document/d/19QLWwGSWxNAeFjIvjNYer73J8w862JQ8/edit?ouid=107230381537914538467&rtpof=true&sd=true&usp=drive_link>" %}
{% endtab %}

{% tab title="INSERT query" %}
{% embed url="<https://docs.google.com/document/d/1F-rjFsdX44AScv1D0TQUvV-AhInMypyN/edit?ouid=107230381537914538467&rtpof=true&sd=true&usp=drive_link>" %}
{% endtab %}

{% tab title="SELECT query" %}
{% embed url="<https://docs.google.com/document/d/1M7DQRN6JQUVHcIoNt7_kbUrFMnTHsnoB/edit?ouid=107230381537914538467&rtpof=true&sd=true&usp=drive_link>" %}
{% endtab %}

{% tab title="UPDATE query" %}
{% embed url="<https://docs.google.com/document/d/1fEzXojzELFu08ncs-YJ-hWF11f_MGWC3/edit?ouid=107230381537914538467&rtpof=true&sd=true&usp=drive_link>" %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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://upskilling.stacs.scot/advanced-higher-support/materials-for-the-classroom/session-1-swag/query-design-templates.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.
