SQL Server 2008 ved hjælp af COUNT() OVER
select *, c = count(1) over (partition by zip)
from tbl
order by c desc;
Hvis du ikke har brug for at se den ekstra kolonne, kan du flytte COUNT() OVER
klausul i ORDER BY-klausulen.
select JobCode, Job1, Job2, Job3, zip
from tbl
order by count(1) over (partition by zip) desc;