Question: SQL payment_date does not exist code : SELECT invoice_number, invoice_date, payment_date (invoice_total - payment_total - credit_total) as 'balance_due' from invoices WHERE payment_date IS NOT NULL;
SQL payment_date does not exist
code :
SELECT invoice_number, invoice_date, payment_date (invoice_total - payment_total - credit_total) as 'balance_due' from invoices WHERE payment_date IS NOT NULL;
Table :
payment_date is in the invoices table so why would this code not work?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
