我要用case when 去一张表里面的数据,我的想法是 如果不满足when 的条件的数据就不显示..但是我取不出来,用两种方法都不行
1.
 select case column when value then result end from tableName;
2.
 select case when column=value  then result end from tableName;
结果的出来的是所有结果都出来了...但是我只想要满足when 条件的数据...不知各位达人有啥子办法没.
谢过了.