开发者

How to return unique rows within a column in Android SQLite?

Really开发者_如何学运维 all I want to do is say the query SELECT DISTINCT column FROM table but I can't figure out how to structure it in the enourmous query methods that are part of SQLiteDatabase

I'm just trying to get the names of all contacts in a table.


You seem to know the sql query you want to run. Have you tried using rawQuery()?


You will probably find this version of the SQLiteDatabase#query method most useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜