Solve the following problem-
Problem: Write a Select statement that determines whether the PaymentDate column of The Invoices table has any invalid values. To be valid, PaymentDate must be a Null value if there's a balance due and non-null value if there's no balance due. Code a compound condition in the Where clause that tests for these conditions.
Can you provide the answer as soon as possible?