I 've conncet a local database in my app folder,and have succsee connect the database
however when i try to do the folloing codes.

query.exec("CREATE TABLE history (trainline varchar,station varchar,start_p varchar,end_p varchar)");

query.exec("insert into history values('K586','chengdu','guangzhou,'shenzhen') ");

//The reuslut is it successfully create the table name history but it didnt inesert any data i descripe in the above codes.
What was wrong?And how i should do ??
I wonder...
Hope your answer.