News

Return the SQL only, do not include explanations.” The following function creates a query in that type of format, taking arguments for the data schema, sample rows, user query, and table name.
An alternative - again, if supported - would be to create a view that works the same as the derived table, and use this in your query instead.