mysql - How to choose a table that have the table name : "group"? -
i have table. name of table "group"
i run query :
select * group
there exist error :
error code: 1064 have error in sql syntax; check manual corresponds mysql server version right syntax use near 'group limit 0, 1000' @ line 1
any solution solve problem?
thank you
use backquote :
select * `group`
you can alias table name later use in where
clause instance:
select * `group` g g.id = 1
Comments
Post a Comment