选取ID在1-5的所有用户

select * from [user] where id between 1 and 5

选取ID不在1-5的所有用户

select * from [user] where id not between 1 and 5

 

相关文章:

  • 2021-12-07
  • 2021-07-16
  • 2021-11-19
  • 2022-02-07
  • 2021-11-11
  • 2021-06-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
相关资源
相似解决方案