How to implement many-to-many-to-many database relationship?
问题 I am building a SQLite database and am not sure how to proceed with this scenario. I'll use a real-world example to explain what I need: I have a list products that are sold by many stores in various states. Not every Store sells a particular Product at all, and those that do, may only sell it in one State or another. Most stores sell a product in most states, but not all. For example, let's say I am trying to buy a vacuum cleaner in Hawaii. Joe's Hardware sells vacuums in 18 states, but not