L
liuworker
Unregistered / Unconfirmed
GUEST, unregistred user!
在一个表中建有如下字段:xzbh,sjbh,xjbh,yzbh,sl,rq
字段取值如下:
xzbh sjbh xjbh yzbh sl rq
"1" "1" "2" "0" 3 "2002-8-3 11:30:12"
"1" "1" "2" "1" 3 "2002-8-3 11:30:15"
"1" "1" "2" "0" 3 "2002-8-3 15:30:12"
"1" "1" "2" "1" 3 "2002-8-3 15:30:15"
现在以xzbh,sjbh,xjbh,yzbh分组,通过比较时间字段rq,将
"1" "1" "2" "0" 3 "2002-8-3 11:30:12"
"1" "1" "2" "1" 3 "2002-8-3 11:30:15"
两条记录删除,不知那位大侠可提供sql的语句,多谢
字段取值如下:
xzbh sjbh xjbh yzbh sl rq
"1" "1" "2" "0" 3 "2002-8-3 11:30:12"
"1" "1" "2" "1" 3 "2002-8-3 11:30:15"
"1" "1" "2" "0" 3 "2002-8-3 15:30:12"
"1" "1" "2" "1" 3 "2002-8-3 15:30:15"
现在以xzbh,sjbh,xjbh,yzbh分组,通过比较时间字段rq,将
"1" "1" "2" "0" 3 "2002-8-3 11:30:12"
"1" "1" "2" "1" 3 "2002-8-3 11:30:15"
两条记录删除,不知那位大侠可提供sql的语句,多谢