当前位置:网站首页>Multiple limit of the same field of SQL

Multiple limit of the same field of SQL

2022-06-11 08:17:00 Want Xiaoxin

Here's the picture
 Insert picture description here
Inquire about ,bond_mtpck_prpr Less than 0,, Or greater than 100, Or empty data

Let's first look at the initial statement
 Insert picture description here
On the left is the original statement , Filter only bond_mtpck_prpr Empty data , The restriction of inner parentheses does not work ,

On the right is the first modification ,or That makes the data conform to one of the constraints When , Other conditions will be ignored .

Real usage
 Insert picture description here
Bracketed , Multiple restrictions can be added

原网站

版权声明
本文为[Want Xiaoxin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020513375971.html