994.null.mql 533 B

123456789101112131415161718192021222324252627282930
  1. select id,staff_from,lx_date from
  2. /univ_demo/person WHERE age <= 45
  3. AND (person_sort = '事业编' OR staff_type = '校聘合同制人员')
  4. AND (
  5. staff_from != '本校师资博士后出站'
  6. AND
  7. lx_date >= '2025-01-01 00:00:00'
  8. )
  9. /**
  10. output()
  11. count(15)
  12. **/
  13. ;
  14. select id,staff_from,lx_date from
  15. /univ_demo/person WHERE age <= 45
  16. AND (person_sort = '事业编' OR staff_type = '校聘合同制人员')
  17. AND (
  18. staff_from is null
  19. AND
  20. lx_date >= '2025-01-01 00:00:00'
  21. )
  22. /**
  23. output()
  24. count(1)
  25. **/
  26. ;