sponsored links

db2 查询某字段值重复记录次数大于2的记录

db2 " select count(session_id),session_id from rts.offline where login_at>'2013-08-20 00:00:00' group by session_id having count(session_id)>2"

Tags: db2数据库