I am having a table in mysql, and in that i am having two fields that is id and desc, now as desc is a mysql keyword, i am unable to update that field because mysql is giving syntax error, so i thought why not update that field by using alias, i used it but not working, is there any way to update that field using alias.
Please help! I need it very badly.
Thanks
Ravinder
I am having a table in mysql, and in that i am having two
Share
Try with:
Notice the single backquotes ( ` ) around the
descfield name