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: ...