SQL SERVER IN BETWEEN

  1. --查找sal在1500和3000之间的信息(包括1500和3000)
  2. select * from emp where sal >= 1500 and sal <=3000
  3. --等价于
  4. select * from emp where sal between 1500 and 3000
posted @ 2020-11-25 13:40  YZFHKMS-X  阅读(120)  评论(0编辑  收藏  举报