I am trying to pass country_name and country_code column In my country table as a variable. I want to return 1 in case the conditions are true.
SELECT @Column1 =