First working draft of analyze_zips.sql