This table is used to store sessions (events): CREATE TABLE session ( id int(11) NOT NULL AUTO_INCREMENT , start_date date , …