Advertisement
Ankhwatcher

Min & Max2

Mar 25th, 2012
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cursor results = db.rawQuery("SELECT MAX(" + TIME + ") AS MAXTIME, SELECT MIN("+ TIME+") AS MINTIME FROM " + TABLE_NAME + " WHERE " + ROUTE_NUMBER + " == " + routeNo, null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement