Hi - I am having problems writing this query in MS-ACCESS - I am using pass-through queries to a SQL-Server database, so everything is in SQL. everytime I do what I think I'm supposed to do, it freezes the computer.... so I need to try this approach and I am not sure how to go about this...
I have 3 tables that I need to link together in a hierarchy.
Table1 is the highest priority. IF the UniqueID is not on Table 1, then we don't want to see it. If it IS on Table1, then we want to see it even if there is nothing on the other tables.
Table2 is the linking table to get to table 3. I want the records that match up in Table1 and Table2 ONLY to pull from Table3.
HOw can I write a query like this?
I'll give an example of the fields I am using in each table so that maybe it will help someone with an example or the solution!
Table1.login_id ---> Table2.ui_id ---> Table3.login_id
I really really appreciate any help anyone has to offer!
I have 3 tables that I need to link together in a hierarchy.
Table1 is the highest priority. IF the UniqueID is not on Table 1, then we don't want to see it. If it IS on Table1, then we want to see it even if there is nothing on the other tables.
Table2 is the linking table to get to table 3. I want the records that match up in Table1 and Table2 ONLY to pull from Table3.
HOw can I write a query like this?
I'll give an example of the fields I am using in each table so that maybe it will help someone with an example or the solution!
Table1.login_id ---> Table2.ui_id ---> Table3.login_id
I really really appreciate any help anyone has to offer!