public String nestQuery(String minmax) {
		String query = "";
		// TODO
		if (minmax.equals("Most populated cell")) {
			query = "SELECT p1.cellLoc, p1.population FROM Populations p1 WHERE p1.population >= ALL (SELECT p2.population FROM Populations p2)";
		} else if (minmax.equals("Least populated cell")) {
			query = "SELECT p1.cellLoc, p1.population FROM Populations p1 WHERE p1.population <= ALL (SELECT p2.population FROM Populations p2)";
		} else {
			query = "SELECT COUNT(*) AS TotalPrisoners FROM Prisoner";
		}
		return sendQuery(query);
	}