| 发表于:2007-05-30 13:30:46 楼主 |
select xm as 姓名,xb as 性别,sj as 手机,sfz as 身份证,vip as vip号码,ywy as 业务员,je_qt2 as 欠款金额,jp_sl as 机票数量,dp_mx as 订票明细 from record where (cast(je_qt2 as float)) > 0 order by sj compute sum(cast(je_yings) as float)) by sj 其中je_yings 是nvarchar 255类型的 |
|
|
|
|