-
獲取表中最大的數據行
select *
from (
select objid,count(ObjID) as count from a group by objid
) as a
where count=(
select max(count) as count
from (
select objid,count(objid) as count from a
group by objid
) as c)