with t as (
select 1 id, 'Y' column1, 'N' column2, 'Y' column3
union select 2,'N','N','Y'
union select 3,'Y','Y','Y'
union select 4,'Y','N','N'
union select 5,'N','Y','Y'
)
select * from t where len(replace(column1+column2+column3,'N',''))>=2
id column1 column2 column3
1 Y N Y
3 Y Y Y
5 N Y Y
how about
Select * from TableName where column2="Y" or column3 = "Y"
This works on MYSQL and should be ok on MS SQL as well.