/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT LEFT( ZIPCODE, 3 ) AS ZIP, COUNT( LEFT( ZIPCODE, 3 ) ) AS QUANTITY FROM `tblusstatezip` GROUP BY LEFT( ZIPCODE, 3 ) ORDER BY `ZIPCODE` ASC LIMIT 0 , 30