logo

This is an old version of this question!

Return to the current question

$10
There is no reserved keyword in use, yet that is the error I get?

I run this:

mysql> explain insert into batterylog_unique (
-> select * from batterylog
-> where id in (
-> select A.id from batterylog A
-> where A.testing_date = (
-> select max(B.testing_date) from batterylog B
-> where A.brand_battery_country = B.brand_battery_country);



I get:


ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into batterylog_unique (
select * from batterylog
whe' at line 1


I look here:

http://dev.mysql.com/doc/refman/5.1/en/reserved-words.html

The error seems to involve a reserved keyword. And yet I'm not using a reserved keyword?

Lawrence Krubner | 10/30/10 at 12:51am

This is an old version of this question!

Return to the current question