SdK文档上面对rawQuery()方法的解释是:
Runs the provided SQL and returns a Cursor over the result set.
Parameters:
sql the SQL query. The SQL string must not be ; terminated
selectionArgs You may include ?s in where clause in the query, which will be replaced by the values from selectionArgs. The values will be bound as Strings.
Returns:
A Cursor object, which is positioned before the first entry
楼主你的sql查询语句没符合它的要求,详细请自己看。
还有一半在做查询的时候,建议使用query()方法来查询。
Runs the provided SQL and returns a Cursor over the result set.
Parameters:
sql the SQL query. The SQL string must not be ; terminated
selectionArgs You may include ?s in where clause in the query, which will be replaced by the values from selectionArgs. The values will be bound as Strings.
Returns:
A Cursor object, which is positioned before the first entry
楼主你的sql查询语句没符合它的要求,详细请自己看。
还有一半在做查询的时候,建议使用query()方法来查询。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货