It's been a while since I've had to use SQL and that was Oracle. Basically I have two tables and I want to just display the items from table a that aren't in table b. Below are the methods of how I thought you would do it, but it doesn't bring in the right results. (The fields are all hypothetical, but fullField has the same format as b.details
Any help would be much appreciated
Code:
SELECT
a2.fullField
FROM (
SELECT
a.f1, a.f2, a.f2, a.f1 & "-" & a.f2 & "-" & a.f3 As fullField
FROM
tableA a) AS a2
WHERE
a2.fullField NOT IN (
SELECT
b.details
FROM
tableB b)
;
Code:
SELECT
a2.fullField
FROM (
SELECT
a.f1, a.f2, a.f2, a.f1 & "-" & a.f2 & "-" & a.f3 As fullField
FROM
tableA a) AS a2
MINUS
SELECT
b.details
FROM
tableB b
;
Any help would be much appreciated
