![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||||||
| |||||||
|
|
I have 3 tables commissions , XFR, Accounts. |
|
Cust ID in commissions is the same as [Sol ID] in Accounts. |
|
the link [sic] between XFR and Accounts is UID, which is present in both, but is not consistent. |
|
I need a result which has all the rows in commissions table, irrespective of whether there are matches in XFR. |
|
but XFR and Accounts should match on the common column, UID. |
|
The problem is I get the error JOIN EXPRESSION NOT SUPPORTED. |
|
This is my query... |
#3
| |||
| |||
|
|
Hi, I have 3 tables commissions , XFR, Accounts. Cust ID in commissions is the same as [Sol ID] in Accounts. the link between XFR and Accounts is UID , which is present in both, but is not consistent. I mean there are 3811 records in commissions , 37567 records in XFR , 64,567 in Accounts. I need a result which has all the rows in commissions table , irrespective of whether there are matches in XFR. but XFR and Accounts should match on the common column , UID. So it will be a Left outer join with commissions and XFR and an Inner join with XFR and Accounts. The problem is I get the error JOIN EXPRESSION NOT SUPPORTED. If I try to make the XFR-Accounts link a WHERE clause, it gives me a syntax error. This is my query SELECT commissions.ID, commissions.City, XFR.UID, Accounts.[ParentAccountName] FROM commissions LEFT JOIN XFR ON commissions.[Cust ID] = XFR.[Sol ID] INNER JOIN Accounts ON XFR.UID = Accounts.UID ; Please help me. Thanks, Aparna |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |