#SQL SERVER#怎么筛选出一个表的所有列名啊

我的数据表没有行名,只有列。
我的查询的思路是

create view a.name
as(
     select * from  a_table_name
         where a表的列名(字符型的)==(
                                                              select  file_id from view_name
                                                                                                                    where substring(sample_id, 14, 15) like '11%'
                                                                                                                    )))
#:sample_id和a表相同,要筛选出列名满足条件的a表中的所有数据
#:要满足的条件:视图中的sample_id满足 like '11%'

把 == 换成 in