Zip Code to City/State and vice-versa in a database?

后端 未结 11 849
无人共我
无人共我 2020-12-28 11:20

I\'m new to SQL and relational databases and I have what I would imagine is a common problem.

I\'m making a website and when each user submits a post they have to pr

11条回答
  •  粉色の甜心
    2020-12-28 11:42

    Not sure I understand the question. Do you need to allow either and, later, return both?

    You'll have to be careful, even with a zip/city database that can be purchased, since some cities span multiple zips, so you can't always "calculate" in that direction. Similar issue in the opposite direction.

提交回复
热议问题