I am developing one app in which i have make sqlite Database.so there are one table with 3 Field
- 1._id
- 2.Appname
- 3.Rating
For this I need to set Data in Last Field(Rating) with condition where _id = 1 like this…
but from Post I found that Sqlite not allow where clauses so how can I do this?
INSERT INTO Packageinformation(appRating)VALUES (3) where _id=1;
can you please help me out this.
You have to use update, not insert.