select customer.customer_id as c0, customer.customer_id as c1 from customer as customer, sales_fact_1997 as sales_fact_1997 where sales_fact_1997.customer_id = customer.customer_id group by customer.customer_id order by customer.customer_id ASC NULLS LAST; |