|
I have 2 tables
Queryname, reportname, path content
Requirement, return reportname is not included in the column of reportname in Table 2. The column in Table 2 is username = xxx.
No matter I use <>, not in will not get the correct result
However, IN, = can get the correct result required to the contrary. . How to do it
SELECT dbo.ReportList. *
FROM dbo.ReportList INNER JOIN
dbo.UserReport ON dbo.ReportList.ReportName <> dbo.UserReport.ReportName |
|