I have two tables Orders and Invoices. The relationship between the files is the order number. I need to select all the orders with order entry date between two dates, and select all the invoices with invoice date between two dates. There maybe more than one invoice per order, therefore I need to SUM the invoice amount and return it to the first query, so that I can have the information on a single line.
Any help would be appreciated.
Any help would be appreciated.