alidabiri
10-23-2007, 08:06 AM
HI,
i have two tables: CUST and ORDERS
CUST contains:
cust_num, cust_name, cust_phone
ORDERS contains:
cust_num, order_date, order_amt
i want to list all the customers and their LATEST (LAST) order_amt.
how can i dod this?
thanks.
i have two tables: CUST and ORDERS
CUST contains:
cust_num, cust_name, cust_phone
ORDERS contains:
cust_num, order_date, order_amt
i want to list all the customers and their LATEST (LAST) order_amt.
how can i dod this?
thanks.