Changes between Version 6 and Version 7 of AdminTips


Ignore:
Timestamp:
2012-01-06T21:49:50Z (13 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdminTips

    v6 v7  
    2525    LEFT JOIN groups_members ON groups.id = groups_members.group_id
    2626    LEFT JOIN group_events ON group_events.group_id = groups.id
    27     WHERE course_id = @COURSEID AND user_id IN
    28           (SELECT distinct(evaluator) FROM evaluation_mixevals WHERE event_id = @EVENTID AND evaluator NOT IN
    29               (SELECT distinct(submitter_id) FROM evaluation_submissions WHERE event_id = @EVENTID)
    30           );;
     27    WHERE
     28        course_id = @COURSEID
     29        AND event_id = @EVENTID
     30        AND user_id IN
     31            (SELECT distinct(evaluator) FROM evaluation_mixevals WHERE event_id = @EVENTID AND evaluator NOT IN
     32                (SELECT distinct(submitter_id) FROM evaluation_submissions WHERE event_id = @EVENTID)
     33            );
    3134}}}
    3235