mydb=# select label,cmd,columns,tables,phold from sql_catalog; label | cmd | columns | tables | phold ---------------+--------+--------------------------------------------------- weather_hi | SELECT | weather.city,weather.date | weather | 1 hi_and_low | SELECT | weather.city | weather | 2