Basic SQL Problem
Hi,
I have 2 table in my database, all I need to do is select all records from one database that dont exist in the other.
The problem is I get repeating records, can anybody help?
Here is my sql:
SELECT * FROM personaldetails INNER JOIN dbo.ql ON personalDetails.applicationID = dbo.ql.applicationID
WHERE ( personaldetails.applicationid <> ql.applicationid
) ORDER BY personaldetails.applicationid DESC
|