このクエリをプロジェクトに実装しましたが、2.2 未満のバージョンでのみ完全に機能します。
バージョン > 2.2 で実行しようとすると、このクエリは機能しません。
これについて何かアイデアをいただけますか?
クエリ:
mCursor = db.rawQuery("select ROUND(delivarycharge) from pincodeddetails where ROUND(subtotal) <=( select ROUND(subtotal) from pincodeddetails where ROUND(subtotal)>="+price+" and resturantID="+selArgs+" limit 1) and resturantID="+selArgs+" and ROUND(subtotal) >=( ROUND(subtotal)<="+price+" and resturantID="+selArgs+" limit 1) ピンコードされた詳細から ROUND(subtotal) を選択 ROUND(subtotal) LIMIT で注文1"、ヌル);