22,199
社区成员
发帖
与我相关
我的任务
分享
消息 2714,级别 16,状态 6,第 1 行
数据库中已存在名为 '#tem' 的对象。
select *,square(CKm+kkm)*square(KKm/CKm) as num into # from track order by num asc
select * from # a where not exists(select 1 from # where CKid=a.CKid and num<a.num) order by num