Which table in Tableau Workgroup database stores underlying SQL query of Tableau workbook?
The queries are not stored in a table in the Workgroup database - they are stored within the XML of the workbook file itself. You can open the workbook file in a text editor to see the XML, or use the method in this article:
Viewing Underlying SQL Queries | Tableau Software
There are also some third party tools that will do this for you, I believe.
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...