Hello All,
I am new to SQL and wondering how to create sql query based on following condition.
My requirement -
I have 4 country code ('PL' , 'SE', 'NO', 'DK') and I have 4 item numbers for only country code PL ('1234','2345','3121','6565') .
I have to select some values based on this 4 country code and also values should get selected for PL country code if that record contains above 4 item number. Item numbers must be check only for PL country codeĀ NOT for other country code. Except PL , data should be picked up just based on country code but for PL , data should be pick based on Country code is PL and if they contains above 4 item number only.
I hope I have clear my query as it is quite complex.
Could someone please help me on this as it is quite urgent?
Thanks,
Kushal Karia.