I am Working on Android SQLite . I am creating new table and trying to insert values in it. But it gives no column LastName when trying to insert the values.
Please help me . Please check below code.
String query3 = "create table if not exists " + "SIGNUPINFO" + " (" + "FirstName TEXT," + "LastName TEXT," + "EmailID TEXT," + "Password TEXT,"
+ "Phone TEXT," +"Security TEXT);";
db.execSQL(query3);
String query5 = "INSERT INTO SIGNUPINFO" + " (FirstName,LastName,EmailID,Password,Phone,Security) " + "VALUES ('"
+ firstName + "','" +lastName+ "','" + emailID + "','" +password+ "','" + phone+ "','" + "security" +"');";
db.execSQL(query5);