0 Replies - 907 Views - Last Post: 26 November 2011 - 04:19 AM

#1 cavo  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 12
  • Joined: 29-September 09

How to query rows in SQLite and find the lowest value?

Posted 26 November 2011 - 04:19 AM

Hi,


I am a newbie android developer and I am trying to design a simple app based on the notepad tutorial from the android developer website. So far I can create and delete rows. Each row consists of a Name and Number. What I want to do to organise the rows in relation to their value. So whatever row has the lowest number will appear at the top, and then the row with the second lowest number will appear second etc.

My question is how do I calculate which row has the lowest number? When a user creates a row with a Name and a Number, where is this information stored in my program?

Any help greatly appreciated.

Thanks

Is This A Good Question/Topic? 0
  • +

Page 1 of 1