[snip]
I have a list of product orders in a table with the following structure
:

OrderID
ProductID
OrderDate
OrderCost

What query would I need to get the last order for each productID ?
[/snip]

MAX(OrderDate)

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to