1809. Ad-Free Sessions
Description
+-------------+------+
| Column Name | Type |
+-------------+------+
| session\_id | int |
| customer\_id | int |
| start\_time | int |
| end\_time | int |
+-------------+------+
session\_id is the primary key for this table.
customer\_id is the ID of the customer watching this session.
The session runs during the **inclusive** interval between start\_time and end\_time.
It is guaranteed that start\_time <= end\_time and that two sessions for the same customer do not intersect.+-------------+------+
| Column Name | Type |
+-------------+------+
| ad\_id | int |
| customer\_id | int |
| timestamp | int |
+-------------+------+
ad\_id is the primary key for this table.
customer\_id is the ID of the customer viewing this ad.
timestamp is the moment of time at which the ad was shown.ac
Last updated