Dec 19th, 2016, 6:41 PM
(This post was last modified: Dec 19th, 2016, 6:43 PM by Jan Steinman.)
Is there a tutorial on doing a "join table" implementation?
This is the case for representing "many-to-many" relationships, for example, where a product can be found in many stores, and a store can carry many products.
In SQL, this is conventionally implemented in a "join table," which contains pairs of IDs into the store table and the product table.
I have a feeling this is done using "views," but reading through the view documentation did not get it into my thick head...
Thanks in advance for any help offered!
Jan
This is the case for representing "many-to-many" relationships, for example, where a product can be found in many stores, and a store can carry many products.
In SQL, this is conventionally implemented in a "join table," which contains pairs of IDs into the store table and the product table.
I have a feeling this is done using "views," but reading through the view documentation did not get it into my thick head...
Thanks in advance for any help offered!
Jan