
create table tablename (name varchar(10),name varchar(10));

You have specified name field twice, so error occurs.
Use the following query:
create table tablename (name varchar(10),address varchar(10));
For more information, visit the following link:
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.
