> For the complete documentation index, see [llms.txt](https://sql-simulator.tribalknowledge.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sql-simulator.tribalknowledge.tech/getting-started/technical-overview/postview-merge/step-2.md).

# Step 2

Get Table DDLs

<figure><img src="https://403885016-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fm4rzX24RU1BrcxfyqFTO%2Fuploads%2FExvff7DS83eCUCcmPQZ2%2FPreView%20Merge_3-3-1.png?alt=media&amp;token=6cc0a226-7f91-47e2-897d-d02ad3b717d0" alt=""><figcaption></figcaption></figure>

It then goes to the production database and retrieves the DDL's for those tables.&#x20;

{% hint style="info" %}
&#x20;If there are any tables that are linked by a foreign key reference it will retrieve the DDL's for those automatically.
{% endhint %}
