public static int friendshipStatus(Statement stmt, int requested_by, int requested_for) {
		try {
			ResultSet rs = stmt.executeQuery("SELECT approved FROM friends WHERE requested_by IN (" + requested_by + ", " +  requested_for + ") AND requested_for IN (" + requested_by + ", " +  requested_for + ")");
			if(rs.next()) {
				if (rs.getBoolean("approved")) {
					return FRIENDS;
				} else {
					return PENDING_REQUEST;
				}
			} else {
				return NOT_FRIENDS;
			}
		} catch (SQLException e) {
			e.printStackTrace();
			return NOT_FRIENDS;
		}
	}