330valido.mql 462 B

1234567
  1. SELECT count(DISTINCT temp01.teacher_account) AS "senior_count" FROM (MATCH (person:/univ_demo_local/person WHERE status = '在职' AND person_sort = '事业编' AND staff_type = '专任教师岗位')-[:person_to_tech_duty*1..1]->(tech_duty:/univ_demo_local/tech_duty WHERE duty_level = '正高级' AND last_flag = '是') RETURN person.account AS "teacher_account") temp01 LIMIT 0, 500000 WITH TIMEOUT = 6m
  2. /**
  3. output()
  4. matchcount("senior_count", 316, 1)
  5. **/
  6. ;