...'Select CourseID, from Coureslist',
Making a selection in this box would then get the details from the following query
'SELECT Applications.*, Courselist.*, Coursetitles.*
FROM Coursetitles RIGHT JOIN (Courselist RIGHT JOIN Applications ON Courselist.CourseID = Applications.CourseID) ON...