This class is all about querying the database: Writing MySQL queries from within the PHPMyAdmin web application, and writing PHP code to utilize functions within Moodle’s data manipulation API. Along the way we’re going to learn about 10 database tables in Moodle, centering around Moodle users, roles, capabilities and contexts.