SQL查询在早期的Android版本上不起作用
我的应用程序中有以下SQL查询。它在我的Nexus7上运行没有任何问题,但在安卓早期版本中没有关于“title”列的消息时崩溃SQL查询在早期的Android版本上不起作用,android,sql,Android,Sql,我的应用程序中有以下SQL查询。它在我的Nexus7上运行没有任何问题,但在安卓早期版本中没有关于“title”列的消息时崩溃 SELECT feeds._id AS _id, feeds.title, feeds.description, feeds.image, feeds.groupName, count(items._id) AS itemCount, sum(case when items.read = 0 then 1 end) as unreadCount FROM feeds L
SELECT feeds._id AS _id, feeds.title, feeds.description, feeds.image,
feeds.groupName, count(items._id) AS itemCount, sum(case when items.read = 0
then 1 end) as unreadCount FROM feeds LEFT JOIN items ON (items.feedId = feeds._id)
GROUP BY feeds._id ORDER BY feeds.groupName
这是一个已知问题,还是我的查询有问题?请小心您的数据库版本。每次表结构更改都要先更改它。我们需要更多代码来帮助您……关于“列“title”“not existing”的错误消息可能会有所帮助。