Sqlserver
 sql >> Datenbank >  >> RDS >> Sqlserver

WÄHLE MAX von COUNT

select top 1 app_rate_unit, count(*) from dbo.well
group by app_rate_unit
order by count(*) desc