1:
SELECT ZIP, COUNTY, COUNT(*) FROM tbl1 GROUP BY ZIP, COUNTY
1: 2: 3: 4: 5:
92111 county1 12 92111 county2 145 92123 county2 108 92123 county3 110 92123 county4 5
1: 2:
92111 county2 92123 county3