Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

how to find the start dates from history - response (2) by Qaisar Aftab Kiani

$
0
0
In your second example there are no customers with start date of 13/11/2011. Anyways, If you just need the minimum start date against a customer then you can do this... SELECT CUSTOMER_ID, MIN(START_DATE) FROM <<TABLE_NAME>> GROUP BY CUSTOMER_ID

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>