1

我已经在我的项目中实现了这个查询,并且它仅在 < 2.2 版本中完美运行。

如果我尝试在 > 2.2 版本中运行,则此查询不起作用。

你能给出一些想法吗?

询问 :

mCursor = db.rawQuery("select ROUND(delivarycharge) from pincodedetails where ROUND(subtotal) <=( select ROUND(subtotal) from pincodedetails where ROUND(subtotal)>="+price+" and resturantID="+selArgs+" limit 1) and resturantID="+selArgs+" and ROUND(subtotal) >=( select ROUND(subtotal) from pincodedetails where ROUND(subtotal)<="+price+" and resturantID="+selArgs+" limit 1) order by ROUND(subtotal) LIMIT 1",空);

4

0 回答 0