Trust you all good. Please i need your help, i am trying to do a query using active-record
id, quiz_id, homework_id, student_id, question_id, selected,answer,topic_id,created_at
I want to find the best performing topic
below is the code i wrote that doesnt work
Please whats the right way to achieve this?