我有一个 SQL 语句,可用于从我的 Android sqlite3 数据库返回不同的行,我想通过ContentProvider
's 查询传递它。
例如:
select lastName from peopleTable where upper(lastName) like upper("%smith%");
需要是
select DISTINCT lastName from peopleTable where upper(lastName) like upper("%smith%");
有没有一种干净的方法可以将额外的关键字传递给 select 语句?