Querying the database for stored points using rawQuery.