332valido.mql 537 B

123456789
  1. SELECT temp01.teacher_dept AS "师资归属单位", count(DISTINCT temp01.teacher_account) AS "教职工人数" FROM (SELECT person.account AS "teacher_account", person.sz_g AS "teacher_dept" FROM /univ_demo/person person WHERE person.status = '在职' AND person.sz_g != '' LIMIT 0, 500000) temp01 GROUP BY temp01."teacher_dept" ORDER BY "教职工人数" DESC LIMIT 0, 500000 WITH TIMEOUT = 6m
  2. /**
  3. output()
  4. count(42)
  5. matchcount("师资归属单位", "行为经济学与社会学学院", 1)
  6. matchcount("教职工人数", 127, 1)
  7. **/
  8. ;