36between.mql 578 B

123456789101112131415161718192021222324252627282930313233
  1. select id,整数,大整数,浮点,自定义类型,字符串 from /test/测试 where 整数 between 1 and 5
  2. /**
  3. output()
  4. count(5)
  5. **/
  6. ;
  7. select id,整数,大整数,浮点,自定义类型,字符串 from /test/测试 where 整数 between 1 and ?
  8. /**
  9. output()
  10. params(1)
  11. count(4)
  12. **/
  13. ;
  14. select id,整数,大整数,浮点,自定义类型,字符串 from /test/测试 where 整数 between ? and 5
  15. /**
  16. output()
  17. params(5)
  18. count(1)
  19. **/
  20. ;
  21. select id,整数,大整数,浮点,自定义类型,字符串 from /test/测试 where 整数 between ? and ?
  22. /**
  23. output()
  24. params(1,5)
  25. count(5)
  26. **/
  27. ;