Advertisement
Ankhwatcher

Min & Max

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