Skip to content
Advertisement

Tag: teradata-sql-assistant

SQL Logic Check

I’m new to SQL/Teradata. The numbers I got from the 2nd query are not what I expected, which leads me to believe I am doing something wrong. I have two conditions I want to count by: Condition 1: Condition 2 (All other Permutations): Query for Condition 1: I think this one is wrong . . . Query for Condition 2

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. 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

Advertisement