SELECT
    assignment.eventId,
    assignment.availabilityId,
    assignment.function AS "function: Function",
    assignment.startTimestamp,
    assignment.endTimestamp
FROM assignment
WHERE assignment.eventId = $1;
