her kolon için union yap, en çok tekrar eden değeri bul, her kolonda bu değeri filtrele. sp ile yapmak daha kolay olur.
t-sql'cesi :
declare @fval int =0
set @fval = select top 1 val from (
select col1 val from table
union all
select col2 val table
.
union all
select col2 val table) x
group by val
order by count(*) desc
select * from table where col1=@fval or col2=@fval ... or col6=@fval
0