2013-07-05 23 views
0

我的應用程序中有以下SQL查詢。它在我的Nexus 7上沒有任何問題,但是在Android早期版本中不存在關於列「標題」的消息。SQL查詢在較早的Android版本上不起作用

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 

這是一個已知的問題,或者是有什麼毛病我查詢?

+0

我們需要更多的代碼來幫助您...有關「列」標題「不存在」的錯誤消息可能會有所幫助。 – JosephGarrone

回答