any:数据集中只要有一条满足要求则条件成立
如表A:
id name
1 张三
2 李四
3 王麻子
select * from A where id<ANY(1,2,3) 相当于 select * from A where id < 1 or id < 2 or id < 3
all:数据集中所有数据都满足要求,条件才成立
select * from A where id<ALL(1,2,3) 相当于 select * from A where id < 1 and id < 2 and id < 3
some:与any相同