I am creating a plugin that would display all student grades. How can I get student name and grade from the moodle database to display in a table.
Because grades in the gradebook are calculated as requested, you need to use the Gradebook API to access grades in a plugin. For more information, see:
I hope this helps,
I am not a developer myself. Have you reviewed the tools at https://docs.moodle.org/dev/Main_Page and https://docs.moodle.org/dev/Category:Developer_tools ? Eclipse seems to be popular with our developers.