The table shows the user activities for a factory website. (machine_id, process_id, activity_type) is the primary key of this table. machine_id is the ID of a machine. process_id is the ID of a ...
-- We are given a table 'Activity' that records when a process starts and ends on a machine. -- Each (machine_id, process_id) has exactly one 'start' and one 'end'.