【发布时间】:2013-03-06 17:46:11
【问题描述】:
如果我使用光标,我不能在下面的代码中使用“cursor.getString”。 我发现“Cursor.count = 0”。
但是如果我在 adb shell 中执行这段代码,我可以得到结果“10|15|”。
我可以知道原因或如何实现我的目标吗?非常感谢。
select (select count(*) from table1) as count1, (select count(*) from table2) as count2;
【问题讨论】: