The VSTACK and HSTACK functions enable efficient data combination from multiple sheets while maintaining dynamic ...
I can easily achieve the same result with a pivot table by dragging the Salesperson field into Rows and the Sales field into ...
GitHub

table-functions.md

ZetaSQL supports table-valued functions (TVFs). A TVF returns an entire output table instead of a single scalar value, and appears in the FROM clause like a table subquery. CREATE ... TABLE FUNCTION: ...