scorpio wrote:
> Hi all,
> 
> how we can get the maximum value of an attribute in a table,     in
> terminal , i checked and its working,
> 
> the query is        ->    select max(key) from Testing;
> 
> but how we can do this in Android.

Try SQLiteDatabase#rawQuery(), as documented on the Android site:

http://tinyurl.com/4r35qn

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch in September! http://www.bignerdranch.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to