`
aa8945163
  • 浏览: 270341 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

大数据量开发

 
阅读更多
update mes_jt_pdc tttt set tttt.flag = '1' where tttt.sid in
       (select ttt.sid from mes_jt_pdc ttt join
               (select min(sid) as id,t.dtime as time  from mes_jt_pdc t group by t.dtime having count(*) > 1) tt
       on ttt.dtime=tt.time and ttt.sid<>tt.id)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics