Hmm... I don't see anything wrong either. Maybe someone else will catch the error though...
In the meantime try simplifying your sql code and then add things back in gradually to see where it breaks, i.e. try:
__sql__ = "SELECT TeacherID FROM 2013teachers"
if that works, then
__sql__ = "SELECT TeacherID, TeacherName FROM 2013teachers"
then
__sql__ = "SELECT TeacherID, TeacherName FROM 2013teachers ORDER BY TeacherName"
and maybe that will help you at least identify where the problem is.