MySQL中any、some、all关键字
http://blog.csdn.net/imzoer/article/details/8266324

 

ANY关键字:

假设any内部的查询语句返回的结果个数是三个,

那么,

select ...from ... where a>any(...)

->

select ...from ... where a > result1 or a > result2 or a > result3

ALL关键字:

ALL关键字与any关键字类似,只不过上面的or改成and。

SOME关键字:

some关键字和any关键字是一样的功能。

相关文章:

  • 2022-01-01
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
猜你喜欢
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-10-16
相关资源
相似解决方案