I have a main table and 3 tables that extend the "core" table in different ways.
I work with MLS data, and I have a “common” table that contains information common to all mls lists, and then a table that has specially “residential” information, one for “commercial”, etc .... using the mls number to join the same table when I know the list, when the type of the property is known, but for the search I want to join all of them and have special fields for the search criteria (and not just search for a common table).
What type of connection will give me a dataset that will contain all lists (including extended fields in idx tables)?
For each record in the shared table, there is one corresponding record in ONLY ONE for idx tables.
___________ | | | COMMON | | | |___________| _|_ | ___________________|_____________________ _|_ _|_ _|_ _____|_____ _____|______ ____|______ | | | | | | | IDX1 | | IDX2 | | IDX3 | | | | | | | |___________| |____________| |___________|
sql database join mysql
jondavidjohn
source share