pivot_forecast/sql/col_list.sql

7 lines
143 B
SQL

SELECT
string_agg(format('%I',cname),E'\n,' ORDER BY opos ASC) cols
FROM
fc.target_meta
WHERE
func NOT IN ('version','iter');