blob: 08298cb7100a2abf1005f8f81bfe2a8a49de5ea5 [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.product_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;