@zwbratcher
Did you figure out how to do this? I've attached basic SQL that enables you to filter by subaccount, course, enrollment type (teacher, etc.) and so much more.
And here is the line you were looking for:
"course_dim"."canvas_id" AS "canvas_id (course_dim)",
Listing courses and including relevant data points such as the course Canvas ID # could be a foundational starting point for several dozen reports. So there can be great future value in creating this.
For example, I created a script that lists the edit urls of home pages of all future term courses. This is given to our assistant team and they use this as an input file to process the auto entry of instructor names and term dates to these pages using a browser automation tool (assistants do not have API access).