Find the most recent rows for a repeating sets of data with SQL [email protected] (Simon Hutchinson)

​This post is based upon something I needed to provide to my superiors at my work. We have a history file that contains many thousands of repeating sets records (yes, I know it is time to purge the old data), I was asked to “create a SQL statement” that would return the most recent records for each key. It will make more sense when I show the data I am going to be using here. In these examples the file is named TESTFILE, and contains three columns of data. I can use the following SQL statement to list the contents of this file: 01 SELECT * FROM TESTFILE The results are: Read more » Read More 

Don’t forget it is tonight! #IBMi #rpgpgm #IBMChampion Simon Hutchinson (@RPGPGM)

​Don’t forget it is tonight!#IBMi #rpgpgm #IBMChampion twitter.com/ctxiug/status/…- Simon Hutchinson (@RPGPGM)07:15 – Mar 21, 2023Quoted Tweet:Do not miss this ⬇️📣@P_Behr🗣️ 2 presentations!📅 Later today (Tuesday March 21)⏰ 6:30 PM (US CT)🌐 ctxiug.blogspot.com🚫 Free to everyone#IBMi #IBMiLUG #AS400 pic.twitter.com/BN1l7B5hci- Central Texas IBM i User Group (@CTXiUG)07:00 – Mar 21, 2023 Read More 

“I’m glad my employer put me through this course and I know couldn’t have self-taught myself a fraction of what Jim and Michelle teach.” – M. Bickish, Software Developer Read more: #ibm #computing #impowertech #BuckU #SQL #IBMPowerSystems #RPGLE #IBMi imPower Technologies (@jbuck_imPower)

​“I’m glad my employer put me through this course and I know couldn’t have self-taught myself a fraction of what Jim and Michelle teach.” – M. Bickish, Software DeveloperRead more: conta.cc/3lVTckZ #ibm #computing #impowertech #BuckU #SQL #IBMPowerSystems #RPGLE #IBMi- imPower Technologies (@jbuck_imPower)07:30 – Mar 21, 2023 Read More 

Dave Willis, Connectria, and Jeremy Shearer, AWS, discuss how to modernize JD Edwards workloads running on IBM Platform into AWS. Check out the full video on YouTube ⬇️ #hybridcloud #IBMi Connectria (@Connectria)

​Dave Willis, Connectria, and Jeremy Shearer, AWS, discuss how to modernize JD Edwards workloads running on IBM Platform into AWS. Check out the full video on YouTube ⬇️ bit.ly/3JphLV5 #AWS #hybridcloud #IBMi- Connectria (@Connectria)08:56 – Mar 21, 2023 Read More 

Verified by MonsterInsights