MySQL /* ??? */
Posted by:
Avri Lev
Date: January 01, 2015 12:38PM
Hello everyone,
I have a problem regarding sql syntax.
I've enterd the following:
SELECT car_id, make, price, mileage, description
FROM cars
INNER JOIN makes USING (make_id)
/* WHERE make = '[Variable]' */
ORDER BY price
When executing this code, I get an error (1064) and all lines above the 5th line disappear.
Anyone has an idea of solution/fixing this (obvious) bug?
Thanks,
Avri
I'm using phpMyAdmin ver 4.3.4, MySQL 5.6.17 on a local machine
Subject
Written By
Posted
MySQL /* ??? */
January 01, 2015 12:38PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.