Hi all,
I am attempting to run a query based on 2 tables.
In the query there are 3 fields from table 1 and 2 fields from table 2.
The common field in both is Change.ID
The query is working however there is about 70% of the data missing from the 2 fields in table 2
I have checked and the data missing is definitely there if I check manually in table 2.
I have tried the 3 different joins available, and only join that works is number 3 (include all records from table 1 and only those records from table 2 where the joined fields are equal.
The SQL is as below
SELECT Table1.Approver_Group, Table1.Approval_Status, Table1.Change_ID, Table2.Brief_Change_Details
FROM Table2 RIGHT JOIN Table1 ON Table2.Change_ID = Table1.Change_ID
WHERE (((Table1.Approver_Group) Like "example"))
ORDER BY Table1.Change_ID DESC
WITH OWNERACCESS OPTION;
I have searched for days, but cannot solve this one.
Thanks in advance
Gareth
I am attempting to run a query based on 2 tables.
In the query there are 3 fields from table 1 and 2 fields from table 2.
The common field in both is Change.ID
The query is working however there is about 70% of the data missing from the 2 fields in table 2
I have checked and the data missing is definitely there if I check manually in table 2.
I have tried the 3 different joins available, and only join that works is number 3 (include all records from table 1 and only those records from table 2 where the joined fields are equal.
The SQL is as below
SELECT Table1.Approver_Group, Table1.Approval_Status, Table1.Change_ID, Table2.Brief_Change_Details
FROM Table2 RIGHT JOIN Table1 ON Table2.Change_ID = Table1.Change_ID
WHERE (((Table1.Approver_Group) Like "example"))
ORDER BY Table1.Change_ID DESC
WITH OWNERACCESS OPTION;
I have searched for days, but cannot solve this one.
Thanks in advance

Gareth