android - Get a record from DB based on date? -


I want to get a record from the DB table based on the date. I have entered a file called "Date" in my table and I store the date in the format "yyyy-MM-dd HH: mm: ss" at this date. Please help me I have tried with this.

Here is my "TABLE_NAME" "Date" my column name

  here cursor cursor = mDb.rawQuery (select date DESC range 1 from date to date " ,Zero); Cursor cursor = mDb.rawQuery ("Date from date SELECT MIN (date) to date", empty);  

My table has been created but sorting alone is not good. I am getting a response for this sorting, but the sorting does not seem right.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -