日期:2014-05-18 浏览次数:20705 次
select distinct customer_code from purchase_customer_balance order by customer_code
select distinct '@'+customer_code'#' from purchase_customer_balance order by customer_code
select distinct '@'+customer_code+'#' from purchase_customer_balance order by customer_code
------解决方案--------------------
select distinct '@'+customer_code + '#' from purchase_customer_balance order by 1 or : select distinct '@'+customer_code + '#' from purchase_customer_balance order by '@'+customer_code + '#'
------解决方案--------------------
SELECT DISTINCT '@' + customer_code + '#' FROM purchase_customer_balance ORDER BY '@' + customer_code + '#'
------解决方案--------------------
select distinct '@'+customer_code'#' from purchase_customer_balance order by '@'+customer_code'#'