Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
3.0 KiB

  1. select * from myclass
  2. select p1 from myclass
  3. select p1, p2 from myclass
  4. select p1,p2,p3 from myclass
  5. select * from myclass where p4 = p5
  6. select * from myclass where p4 != p5
  7. select * from myclass where p4>p5
  8. select * from myclass where p4<=20
  9. select * from myclass where p4 < 1.0
  10. select * from myclass where p4 != "xyz"
  11. select * from myclass where p4 = TRUE
  12. select * from myclass where p4="abc"
  13. select * from myclass where p4 is NULL
  14. select * from myclass where p4 is NOT NULL
  15. select * from myclass where p4 = NULL
  16. select * from myclass where 5 >= p4
  17. select * from myclass where 1.0 > p4
  18. select * from myclass where TRUE=p4
  19. select * from myclass where "abc" = p4
  20. select * from myclass where NULL=p4
  21. select * from myclass where NOT p4 = p5
  22. select * from myclass where NOT p4 > 20
  23. select * from myclass where NOT p4 = TRUE
  24. select * from myclass where NOT p4 is NULL
  25. select * from myclass where (p4 != p5)
  26. select * from myclass where (p4 >= -20)
  27. select * from myclass where (p4 != "xyz")
  28. select * from myclass where (p4 is NULL)
  29. select * from myclass where (-1.0 > p4)
  30. select * from myclass where (NULL = p4)
  31. select * from myclass where p4 = p5 and p4 != p5
  32. select * from myclass where p4 != p5 and p4 < 1.0
  33. select * from myclass where p4>p5 and p4="abc"
  34. select * from myclass where p4<=20 and p4 is NULL
  35. select * from myclass where p4 < 1.0 and 5 >= p4
  36. select * from myclass where p4 = TRUE and FALSE != p4
  37. select * from myclass where p4 != "xyz" and NOT p4 = p5
  38. select * from myclass where p4 is NULL and NOT p4 is NULL
  39. select * from myclass where p4 is NOT NULL and (p4 != p5)
  40. select * from myclass where p4 = NULL and (p4 = FALSE)
  41. select * from myclass where 5 >= p4 or p5>p4
  42. select * from myclass where 1.0 > p4 or p5 = TRUE
  43. select * from myclass where TRUE=p4 or p5 is NOT NULL
  44. select * from myclass where "abc" = p4 or -1.0 != p5
  45. select * from myclass where NULL=p4 or NULL = p5
  46. select * from myclass where NOT p4 = p5 or NOT p5 > 20
  47. select * from myclass where NOT p4 > 20 or NOT p5 = TRUE
  48. select * from myclass where NOT p4 = TRUE or (p5 >= -20)
  49. select * from myclass where NOT p4 is NULL or (p5 is NULL)
  50. select * from myclass where (p4 != p5) or (-1.1 > p5)
  51. select * from myclass where (p4 >= -20) and (p4 != p5 or NOT p5 > 20)
  52. select * from myclass where (p4 != "xyz") and (p4 < 1.1 or NOT p5 = FALSE)
  53. select * from myclass where (p4 is NULL) and (p5="abc" or (p5 >= -20))
  54. select * from myclass where (-1.1 > p4) and (p4 is NULL or (p5 is NULL))
  55. select * from myclass where (NULL = p4) and (5 >= p4 or (-1.1 > p5))
  56. select * from myclass where p4 != "xyz" or (p5>p4 and TRUE = p4)
  57. select * from myclass where p4 is NULL or (p5 = TRUE and NOT p4 = p5)
  58. select * from myclass where p4 is NOT NULL or (p5 is NOT NULL and NOT p4 is NULL)
  59. select * from myclass where p4 = NULL or (-1.1 != p5 and (p4 != p5))
  60. select * from myclass where 5 >= p4 or (NULL = p5 and (p4 = "abc"))
  61. select p1, p2, p3 from myclass where (-1.1 > p4) and (p4 != p5) and (5 >= p4 or (-1.1 > p5)) or p5 = TRUE and NOT p4 = p5 or (p5 is NOT NULL and NOT p4 is NULL)