Hello,
Please excuse my SQL ignorance here.
I have 2 tables that I need to query:
Tablea:
- id
- tableb_id_1
- tableb_id_2
Tableb:
- id
- name
I know that this scenario is probably better handled with 3 tables but I still like to figure it out with the current scheme.
I've used inner joins in the past to pull from both tables, but I'm not exactly sure how to get tablea.id and the tableb.name from both tableb_id_1 AND b_id_2 using 1 query.
Thanks in advance for your help.