I am trying to create a report depends upon a signature table.Here is my query
If the document is complete then this query is giving complete document result based on the signature.But when I want to get incomplete document result this query is not giving me result and without using where clause I don't know how I can get complete = 0
SELECT Employees.FirstName, Employees.LastName, Signatures.Employee_ID, Signatures.Document_ID, Documents.Topic, Documents.Complete, Documents.Created,
Documents.RevisionLevel
FROM Employees INNER JOIN
Signatures ON Signatures.Employee_ID = Employees.ID INNER JOIN
Documents ON Signatures.Document_ID = Documents.ID
where Documents.Complete = 0
What I have tried:
I tried SQL Joins to get the desired result