Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37673

Re: sql query group by name and average

$
0
0
by Darko Miletić.  

This would be the correct base query

SELECT res.id, res.rank, u.firstname, u.email, u.username
FROM
mdl_questionnaire_response_rank res,
mdl_questionnaire_response rp,
mdl_questionnaire_attempts att,
mdl_user u
WHERE
res.response_id = rp.id
and
att.rid = rp.id
and
att.userid = u.id


Viewing all articles
Browse latest Browse all 37673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>