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

Date Format In Teradata SQL Assistant - response (5) by KS42982

$
0
0

Looks like the last row is always the latest record of the 'name' column. In that case, it would be like below.
Select Name, max(create_time)
If that is not the case then you can use ROW_NUMBER() and give number to all the rows and use max of it by name to get the last record.


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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