|
|
Archives of the TeradataForum
Message Posted: Tue, 30 Dec 2003 @ 21:25:42 GMT
Subj: | | FIRST and LAST value question |
|
From: | | Akshay Munshi |
Hi,
I have two tables - CUSTOMERS and MEMBERSHIPS. One customer can have multiple records in MEMBERSHIPS table and the joining field is
CUST_ID. I want to get a list of all the customers with the last membership date. In MS Access I can use the LAST() function, but I dont
know how to do this in Teradata. The another problem is I am basic user of a Teradata user with view only rights on the database and the
only tool I have is Queryman, so I can only write single SQL statements to do this. Help!!!
Thanks,
Akshay!
| |