Yup...I just keep on screwing up.Any ideas on what's wrong with this one?
I was also trying to use AVG(), and perhaps a GROUP BY (or at least ORDER BY) statement in there, too, but I can't even get THIS to work, so I'll save that part for later.Code:SELECT q.quizid, q.quiztitle, q.description, r.totalcorrect, SUM(r.totalcorrect) as correct, COUNT(r.resultid) AS total FROM quizzes q, results r WHERE r.quiz_id = q.quizid AND q.approve = 'Yes' AND r.complete = 'Yes'![]()



Any ideas on what's wrong with this one?



Bookmarks