版权声明:转载请注明出处: https://blog.csdn.net/gislaozhang/article/details/83062580
结论:
在否定表达里,运算符左边和右边同时满足的情况是用“or”
在肯定表达里,运算符左边和右边同时满足的情况是用“and”
情景1: select *from t1 where country_na <>'B' or type<>'4'
情景2:select *from t1 where country_na <>'B' and type<>'2'
参考资料:
http://resources.arcgis.com/zh-cn/help/main/10.2/index.html#/na/00s500000033000000/ 在 ArcGIS 中使用的查询表达式的 SQL 参考
http://resources.arcgis.com/zh-cn/help/main/10.2/index.html#/na/00s50000002t000000/ 构建查询表达式