sql话语取全部

sql语句取全部select * from [xxx] where abca请问当a为 什么值时取所有值不是只取abc列下的某个值[解

sql语句取全部
select * from [xxx] where abc="a"



请问当a为 什么值时取所有值 不是只取abc列下的某个值

[解决办法]
select * from [xxx] where abc = 'a' or '1' =‘a’
当a=1时,查询全部,否则查询abc= 'a'。