where能实现只取满足其中一个条件的数据吗

2025-03-23 00:14:22
推荐回答(1个)
回答1:

用or就可以了,例如 where age>18 or age<15 or sex='女',这样只需满足其中一个条件即可得到数据