An Introduction to SQL classroom, from scratch
In this tutorial you'll see miyagi really at work, from start to finish, in a Moodle classroom that starts out empty. It's an Introduction to SQL unit for the first year of DAM (a vocational course in cross-platform application development): 6 weeks, 4 units (MariaDB in Docker, DDL, DML and queries) and a final project with 10 queries on the tienda database. The gradebook's weights: 5% each quiz, 15% each exercise and 50% the final project.
It's done in the desktop app, which is the main version. What the teacher writes looks like this:
Grade the Práctica final "Consultas sobre la tienda" with the rubric I left you in sources.
All the screenshots are real, from version 0.13.0, taken against a test Moodle (moodle-sandbox) with fictional students. The screenshots are in Spanish: the course's content and miyagi's messages are in Spanish, and the Moodle interface is in English, because the sandbox doesn't have the Spanish language pack, so in the screenshots you'll see "Course", "Grades" or "Submissions" next to what miyagi writes in Spanish.
Some approval panels were photographed with an example request and then rejected; we say so on each one. The tutorial doesn't hide what failed: you'll see where the browser dropped and what was left half-way.
The steps
- Prepare the classroom: create the subject and link the course.
- Give it your material: the syllabus and the rubric in Sources.
- The teaching plan: complete it and decide what only you decide.
- Unit 1: MariaDB in Docker: the first unit, tested in a lab before publishing it.
- Units 2 and 3: DDL and DML: creating tables and manipulating data.
- Unit 4 and the final project: queries, a quiz, the assignment with its rubric and showing it all.
- Grading with the rubric: the students' submissions, grade by grade, with what data protection implies.
- Looking after the forum: real questions about SQL.
- Follow-up and audit: how the class is doing and what to improve in the course.
- Your own skill: teaching it your class's SQL conventions.
Using another version? See the same thing in the web version or in the terminal.
What you need to follow it
- The desktop app installed, or another version.
- A Moodle course in which you're a teacher. To practise, a test one is better.
- For Unit 1 and testing the practicals, Docker Desktop and the docker-lab extension. They're optional: without Docker, miyagi still builds the course, but it can't run the practicals to check them.
Throughout the tutorial, every grade, every forum reply and every resource the students see first goes through an approval panel. You'll see it in the screenshots.