因为你没说a,b,c的数据类型,我就替你假设一下
a:数字类型 默认值为null
b:字符类型 默认值为字符串空''
c:日期类型 默认值为null
那么语句如下:
select *from table1where col1=isnull(a,col1) and col2 like '%b%' and col3>=isnull(c,col3)