https://topbrochure.com/redshift-catalog-query-examples-20/