If your table is in a project, you can also download a SQL file (via the More menu at the top right of the project) that contains the complete code used to generate your output. This code represents a full traversal of your project tree, and captures the exact statement necessary to generate the output table at that point in time.