Error in MySQL when running a command -
i'm getting error when run mysql command:
you have error in sql syntax; check manual corresponds mysql server version right syntax use near ''champions' 'id' = $'id'' @ line 1
how solve error? mean?
three things.
- mysql doesn't dangling
$
in query. change$'id'
'$id'
'id'
literal string'id'
, not value of columnid
, rid of single quotes- assuming
champions
table, need rid of single quotes around well
Comments
Post a Comment