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

Filter consecutive records that have same value as preceding record - topic by jjuarezmty

$
0
0
I need help implementing a query that filters all consecutive records having same values for either COL_2 or COL_3 and  return only those that had a change in COL_2 or COL_3 against the previous record. Sample Data: COL_1 (DATETIME) | COL_2 (CHAR)| COL_3 (INT)

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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