Error in query: SELECT DISTINCT teacher FROM arch_main WHERE (privacy LIKE 'P') ORDER BY teacher.