Here, "table" must be enclosed in double quotation marks because it is a reserved word.select "table", encoded, diststyle, sortkey1, skew_sortkey1, skew_rows from svv_table_info order by 1; table | encoded | diststyle | sortkey1 | skew_sortkey1 | skew_rows ---+---+---+--...
select"table", encoded, diststyle, sortkey1, skew_sortkey1, skew_rowsfromsvv_table_infoorderby1;table|encoded|diststyle|sortkey1|skew_sortkey1|skew_rows---+---+---+---+---+---category|N|EVEN|||date|N|ALL|dateid|1.00|event|Y|KEY(eventid)|dateid|1.00|1.02listing|Y|KEY(listi...