MySQL Forums
Forum List  »  Newbie

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

Options: ReplyQuote


Subject
Written By
Posted
MySQL /* ??? */
January 01, 2015 12:38PM
January 01, 2015 05:34PM
January 02, 2015 01:43AM
January 02, 2015 01:38PM
January 02, 2015 03:37PM
January 03, 2015 12:31AM
January 03, 2015 06:53AM
January 02, 2015 01:24AM


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.