摘要: 表名:tableName 字段 ID,CODE,LogTime数据如:ID,CODE,LogTime1,A1234,2011-09-02 13:12:102,A1234,2011-09-03 13:12:103,A1237,2011-09-04 13:12:104,A1237,2011-09-04 13:12:105,A1237,2011-09-05 13:12:10想要删除的数据ID,CODE,LogTime2,A1234,2011-09-03 13:12:105,A1237,2011-09-05 13:12:10SQL:先找到想要的数据select Code,max(logtime) fr 阅读全文
posted @ 2011-11-04 17:02 海莹 阅读(224) 评论(0) 推荐(0)