private static String makeSqlSelectorForUser(long uid) {
		return "select `Appointment`.* from `Appointment_aAcceptedId` "
				+ "right join `Appointment` "
				+ "on `Appointment_aAcceptedId`.`key`=`Appointment`.`id` "
				+ "where `value`= " + uid + " "
				+ "union distinct select * from `Appointment` where `initiatorId`= " + uid + " ";
	}