The result I am aiming for is (for all the columns to be calculated)
The Number of Invoices Per Date
1 There were a total of 1 invoice(s) on Apr 02, 2012
2 There were a total of 5 invoice(s) on Apr 01, 2012
The InvoiceDate Table needs to be formatted but I can’t seem to CAST IT at all there’s multiple invoice dates on the day which have to be calculated somehow :S
SELECT convert(varchar, getdate(), 107) AS InvoiceDate FROM Invoices
above is as far as i’ve got but it repeats the same date over and over
It sounds like you want this: