Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

SQL newbie statement

chiragpatel_1
8 - Asteroid

Hi I have 

 

I'm just trying to pull data after 2022 (last statement) but it's not working, I have tried placing year in front and everything but dosent work. Any suggestions on what is needed to correct this.

 

chiragpatel_1_1-1660297340934.png

 

Im using the below data dictionary 

chiragpatel_1_0-1660297333656.png

Thank you

1 REPLY 1
ChrisTX
16 - Nebula
16 - Nebula

What is the data type for opord.kco and opgohead.kdate?   Numeric, so they don't need quotes?

 

Temporarily remove all text after "from HIRE.PHB.opord", and test the SQL.  Does is work OK?  Then add back each Inner Join and Where line, one at a time.

 

Chris

Labels
Top Solution Authors