private void setHistory(DBConnection con) throws SQLException {
		Statement stmt = con.getStatement();
		ResultSet rs = stmt.executeQuery("select * from quiz_history where quiz_id = '" + quizID
				+ "'");
		
		history = new ArrayList<QuizHistory>();
		
		while(rs.next()) {
			int userID = rs.getInt("user_id");
			Statement stmtB = con.getStatement();
			ResultSet userRS = stmtB.executeQuery("select * from users where id = '" + userID
				+ "'");
			userRS.next();
			QuizHistory toAdd = new QuizHistory(rs.getInt("score"), rs.getTime("time"), userRS.getString("username"), rs.getTimestamp("taken_on"), userID, title, quizID);
			history.add(toAdd);
		}
		
		Collections.sort(history, new HistoryComparator());
	}