Hi .. I'm trying to do the following:
I have 2 tables, tblcustomer and tblorders.
I want the output to show the last order (tblorders.orderdate) date of the individual customers
===================================================
Select DistinctRow
tblcustomer.surname
From
tblcustomer Inner Join
tblorders On tblcustomer.CustID = tblorders.CustID
Order By
tblcustomer.surname
==================================================
I get an output thats just a list of customers that have an order, but doesnt show any details, the last order date..
I would like to show the date of the customers last order
Help
I have 2 tables, tblcustomer and tblorders.
I want the output to show the last order (tblorders.orderdate) date of the individual customers
===================================================
Select DistinctRow
tblcustomer.surname
From
tblcustomer Inner Join
tblorders On tblcustomer.CustID = tblorders.CustID
Order By
tblcustomer.surname
==================================================
I get an output thats just a list of customers that have an order, but doesnt show any details, the last order date..
I would like to show the date of the customers last order
Help