关于WHERE后面能不能加IF判断的? select * from table1where (case when 1>0 then table1.id001 else table1.id001 end)>1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table1where (case when 1>0 and table1.id001>1 then 1 when table1.id001>1 then 1 else 0 end)=1 大数据量的树存储结构及效率? 怎么样导入一个带标识列的数据 存储过程 交叉表 如果我的表里面N个列有多种查询方法,这时候大家都怎么建索引的! C#中文分词后如何建立索引 求一条Sql语句写法 如何 设置 两个 sql server2000 的 "出版" 和 "发布" ????????????????? 一个奇怪的问题。。。。 数据库附加不上,急!!!!!!!!!!!!!!!!!!!!!!!!! 求教sql订阅的筛选问题 将完全备份的数据库还原时出现的问题 将数据类型 varchar 转换为 bigint 时出错
*
from
table1
where
(case
when 1>0 and table1.id001>1
then 1
when table1.id001>1
then 1
else 0
end)=1