
when i am writing this code
CREATE TABLE student (
id bigint(20) NOT NULL auto_increment,
firstname varchar(100) default NULL,
lastname varchar(100) default NULL,
email varchar(100) default NULL,
phone int(20) default NULL,
dob date default NULL,
PRIMARY KEY (id)
);
i got error like check the manual that corresponds to your mysql server version for the right syntax to use near 'firstname'.....
And my sql server version is 5.5

Have you run this query directly into the Mysql database? Here it works properly.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.