In reply to Betty Roy
Re: Where are results stored in Database
ó $a->name - $a->date
This is not properly documented, but the diagram at the top of this page may help you: http://docs.moodle.org/en/Quiz_database_structure