思路参考http://blog.sina.com.cn/s/blog_4586764e0100mdif.html
实验:
执行select * from t_table where 1=2 and 1=1/0;
无输出
执行select * from t_table where 1=1/0 and 1=2;
输出如下:
ERROR: division by zero ********** 错误 ********** ERROR: division by zero SQL 状态: 22012
结论:
postgreSQL中where子句执行顺序 - 多个and从左到右依次执行