SqliteDatabase.rawQuery(queryStr,null)不提供任何记录,但通过数据库浏览器为SQlite Windows应用程序执行的同一查询提供了记录
String query =
"SELECT DISTINCT id_map.from_id, id_map.from_type, item.title, item.short_title, item.id, item.web_desc, item.piece, item.price, item.retail_price, " +
" item.feature_codes, item.dims, item.in_stock, item.stock_stat, item.warranty, item.aspect_code, item.aspect, item.color, item.store_codes, item.room_code " +
" FROM id_map, item WHERE id_map.from_id = item.id AND id_map.from_type = 'I' AND id_map.to_id = " + subCategoryId +
" ORDER BY id_map.seq ASC";