Changes between Version 15 and Version 16 of AdvancedReports


Ignore:
Timestamp:
03/05/23 00:37:40 (21 months ago)
Author:
201100
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v15 v16  
    8484
    8585{{{
    86 select   qt.userid,
    87          q.quizname,
    88          avg(rt.points)
    89 from quiztaker qt
     86select distinct ut.username, q.quizname, avg(rt.points) from quiztaker qt
     87join user_table ut on qt.userid = ut.userid
    9088join attempt a on qt.userid= a.userid
    9189join quiz q on q.quizid=a.quizid
    9290join result_table rt  on a.attemptid=rt.attemptid
    93 group by 1, 2;
     91group by 1, 2
     92order by ut.username;
    9493}}}
    9594