A
A
agentx0012013-02-11 20:08:43
MySQL
agentx001, 2013-02-11 20:08:43

#1064 - You have an error in your SQL syntax...

Hello, I'm getting acquainted with MySQL, an unclear error occurred in a seemingly correct query:
INSERT INTO password-list(name, pas) values('test', '0000')
The error itself: # 1064 - 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 '-list(name, pas) values('test', '0000')' at line 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RuslanCC, 2013-02-11
@RuslanCC

Or you can take the name of the table in slash quotes - `...`
INSERT INTO `password-list` (name, pas) values ('test', '0000')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question