13int.mql 685 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. select count(*) as count from /test/prepare where v_int = 1
  2. /**
  3. matchcount("count", 3, 1)
  4. **/
  5. ;
  6. select count(*) as count from /test/prepare where v_int > 0
  7. /**
  8. matchcount("count", 3, 1)
  9. **/
  10. ;
  11. select count(*) as count from /test/prepare where v_int < 2
  12. /**
  13. matchcount("count", 3, 1)
  14. **/
  15. ;
  16. select count(*) as count from /test/prepare where v_int >= 1
  17. /**
  18. matchcount("count", 3, 1)
  19. **/
  20. ;
  21. select count(*) as count from /test/prepare where v_int <= 1
  22. /**
  23. matchcount("count", 3, 1)
  24. **/
  25. ;
  26. select count(*) as count from /test/prepare where v_int >= 1.1
  27. /**
  28. matchcount("count", 0, 1)
  29. **/
  30. ;
  31. select count(*) as count from /test/prepare where v_int > 1
  32. /**
  33. matchcount("count", 0, 1)
  34. **/
  35. ;