where 语句 同时包含 or 和and这种怎么弄

2025-03-23 06:30:43
推荐回答(1个)
回答1:

没有用 括号的情况下, and优先 where a>b or a>c and a>d 等价于 where a>b or (a>c and a>d) 如果想要先计算or where (a>b or a>c) and a>d