blob: cb663e529d8d50b4e553d4c0c074c2decac4d4c3 [file] [log] [blame]
select customer.yearly_income as c0, customerx.yearly_income as c1 from customer as customer, sales_fact_1997 as sales_fact_1997, customer as customerx where sales_fact_1997.customer_id = customer.customer_id and sales_fact_1997.customer_id = customerx.customer_id group by customer.yearly_income, customerx.yearly_income order by customer.yearly_income ASC NULLS LAST, customerx.yearly_income ASC NULLS LAST;