Hi.....
There is a problem with the following mysql query
create table emp2 (Leave decimal(12,2) default NULL)
Error message
Error Code: 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 'Leave decimal(12,2) default NULL)' at line 1
If I type the query as..
create table emp2(Leav decimal(12,2) default NULL)
Then it will executed successfully..What is the problem with the field 'Leave'?Is it a key word?