Quiz overview report : group picture instead of student picture

Quiz overview report : group picture instead of student picture

by Maria B. -
Number of replies: 1
Is this possible and how?

Thanx,
M.
Average of ratings: -
In reply to Maria B.

Re: Quiz overview report : group picture instead of student picture

by Maria B. -
I have only quizzes with groups.

$select = 'SELECT '.sql_concat('u.id', '\'#\'', $db->IfNull('qa.attempt', '0')).' AS uniqueid, '.
'qa.uniqueid as attemptuniqueid, qa.id AS attempt, u.id AS userid, u.username, u.firstname, u.lastname, u.picture, '.
'qa.sumgrades, qa.timefinish, qa.timestart, qa.timefinish - qa.timestart AS duration ';

I suppose that I have to select it from groups table, but do not how sad