@@ -24,9 +24,22 @@ with customer_total_return as
24
24
and ca_address_sk = c_current_addr_sk
25
25
and ca_state = ' TX'
26
26
and ctr1 .ctr_customer_sk = c_customer_sk
27
- order by c_customer_id,c_salutation,c_first_name,c_last_name,ca_street_number,ca_street_name
28
- ,ca_street_type,ca_suite_number,ca_city,ca_county,ca_state,ca_zip,ca_country,ca_gmt_offset
29
- ,ca_location_type,ctr_total_return
27
+ order by c_customer_id nulls first
28
+ ,c_salutation nulls first
29
+ ,c_first_name nulls first
30
+ ,c_last_name nulls first
31
+ ,ca_street_number nulls first
32
+ ,ca_street_name nulls first
33
+ ,ca_street_type nulls first
34
+ ,ca_suite_number nulls first
35
+ ,ca_city nulls first
36
+ ,ca_county nulls first
37
+ ,ca_state nulls first
38
+ ,ca_zip nulls first
39
+ ,ca_country nulls first
40
+ ,ca_gmt_offset nulls first
41
+ ,ca_location_type nulls first
42
+ ,ctr_total_return nulls first
30
43
limit 100 ;
31
44
32
45
-- end query 1 in stream 0 using template ../query_templates/query81.tpl
0 commit comments