Results 1 to 2 of 2

Thread: How to design a table with adjacent cities?

  1. #1
    Join Date
    Jul 2013
    Posts
    1

    How to design a table with adjacent cities?

    I'd appreciate some help to my little problem:

    There are pairs of items that are connected, like adjacent cities. A rough example (maybe geographically unprecise):

    table Adjacent
    city1 | city2
    -----------------
    NYC | Jersey City
    Jersey City | Hoboken
    Chicago | Oak Park

    Is this the best way to design that table? What's the best way to get all adjacent cities for a city?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •