List every state in the United States and a zip code

Source: Internet
Author: User
There is a zip table containing all States and zip codes in the United States. How can I list a zip code for each state? There are two columns in each row, namely the State name and the zip code, which were not figured out for a long time. Later, we can see what others are doing. selectstate and max (zipcode) fromzipgroupbystategroupby are amazing, but it is difficult to use, mainly thinking

There is a zip table containing all States and zip codes in the United States. How can I list a zip code for each state? There are two columns in each row, namely the state name and zip code, which were not figured out for a long time. Later, let's see what others are doing. select state, max (zipcode) from zip group by state group by is wonderful, but it is difficult to use, mainly thinking

There is a zip table containing all States and zip codes in the United States. How can I list a zip code for each state?

Each row has two columns: the state name and zip code.

I did not think about it for a long time,

Later, let's see what others are doing,

Select state, max (zipcode) from zip group by state

Group by is wonderful, but it is difficult to use, mainly because it is too strange to think.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.