Changes between Initial Version and Version 1 of AdminTips


Ignore:
Timestamp:
2011-12-21T21:27:33Z (13 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminTips

    v1 v1  
     1[[PageOutline]]
     2
     3== Database ==
     4
     5=== Find student who saved the evaluation but not submit yet ===
     6{{{
     7#!sql
     8SELECT * FROM users
     9WHERE id IN
     10    (SELECT distinct(evaluator) FROM evaluation_mixevals WHERE event_id = EVENTID AND evaluator NOT IN
     11        (SELECT distinct(submitter_id) FROM evaluation_submissions WHERE event_id = EVENTID)
     12    );
     13}}}