Skip to content
Advertisement

Teradata SQL help. Need help getting the start date and end date (yellow) of the most recent employment status. Thank you

Teradata SQL help. Need help getting the start date and end date (yellow) of the most recent employment status. Thank you. Click on the question for image.

Advertisement

Answer

There are several ways to get your expected result, based on your data you might apply Teradata’s NORMALIZE option, a SQL extension to combine overlapping periods:

Caution : This returns a new group whenever name, job_title or status change.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement