<CFQUERY NAME="Courses" DATASOURCE="CF 3.0 Examples"> |
SELECT * FROM CourseList |
WHERE Department_ID = '#Form.Department#' |
ORDER BY CourseLevel |
</CFQUERY> |
<CFOUTPUT QUERY="Courses" GROUP="CourseLevel"> |
<H4>#CourseLevel#</H4> |
<UL> |
<CFOUTPUT> |
<LI> #CourseNumber# - #CourseName# |
</CFOUTPUT> |
</UL> |
</CFOUTPUT> |