I'm using PHP code to extract data from a MySQL database. One of the field names in the database uses the name 'order'. Unfortunately, I need to ORDER BY 'order'. I get SQL syntax errors if I try to SELECT or ORDER BY 'order'.
I can't rename the field. Is there a way to get MySQL to accept this field name in a query?
I can't rename the field. Is there a way to get MySQL to accept this field name in a query?