select * from temp_zhangxb_20150915_1 t where t.proj_cd >= any('504','505','506'); --输出结果:列出>=504的数据
select * from temp_zhangxb_20150915_1 t where t.proj_cd >= some('504','505','506');--输出结果:列出>=504的数据
select * from temp_zhangxb_20150915_1 t where t.proj_cd >= some('504','505','506');--输出结果:列出>=504的数据
select * from temp_zhangxb_20150915_1 t where t.proj_cd >= all('501','502','513');--输出结果:列出>=513的数据
注:这里any some 用法相同,要注意的是all 必须列出符合全部条件的数据(个人认为你可以不用,但是你要看懂别人的这么写什么意思)