-----Original Message----- From: PeterV [mailto:peter at poorbuthappy.com] Sent: Monday, October 07, 2002 1:14 PM To: thelist at lists.evolt.org Subject: [thelist] Mysql query question > Error: > You have an error in your SQL syntax near 'to WHERE oc.map_id = 10 AND > pa.map_id = 10 AND to.map_id = 10 AND ' to might be a reserved word. either use tablename AS to or try a different alias.