I can't see why the following SELECT statement won't work - any ideas?
The error I get is:Code:SELECT s.subject_id, s.subject_name FROM tbl_subjects AS s INNER JOIN tbl_lessons AS l ON s.subject_id = l.subject_id WHERE l.online = 'True' GROUP BY s.subject_id, s.subject_name ORDER BY s.subject_name ASC
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-3.23.55-nt]You have an error in your SQL syntax near 'BY s.subject_name ASC' at line 1
/html/newLogin.asp, line 23
Stumped again...![]()
DJ





Reply With Quote