Advertisement
Ankhwatcher

Min & Max3

Mar 25th, 2012
122
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