Hi!Can you please tell me how to modify the query below so that it DOES NOT include any records from livedb.dbo.PpTimeCards where the field: PaymentStatus is equal to "PENDING"Thanks!MRSELECT '00000405' AS CompanyCode, '21112' AS Contract, SUBSTRING(e.UniquePublicIdentifier, 1, 3) + SUBSTRING(e.UniquePublicIdentifier, 5, 2) + SUBSTRING(e.UniquePublicIdentifier, 8, 4) AS SSNo, tc.EmployeeName, DATEADD(dd, 6, tc.TimeCardDateTime) AS PayDate, ISNULL(tcw.Amount, 0.00) AS AmountFROM livedb.dbo.PpTimeCardComputedWithholdings tcw INNER JOIN livedb.dbo.PpTimeCards tc ON tcw.TimeCardID = tc.TimeCardID INNER JOIN livedb.dbo.PpEmployees e ON tc.EmployeeID = e.EmployeeIDWHERE tcw.WithholdingID = '10' AND DATEADD(dd, 6, tc.TimeCardDateTime) = @PayDateORDER BY tc.EmployeeName