How do you select a specific date from a table using SQL?
Asked in the Round 1 stage. Verbal explanation.
Using activity_log and customers, return all activities that occurred on February 14, 2025, with the associated customer information.
customer_name, activity_id, occurred_at, activity_date, and action_type.occurred_at ascending and activity_id ascending.| Column | Type | Description |
|---|---|---|
| customer_idPK | INT | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer display name |
| segment | VARCHAR(30) | Customer segment |
| Column | Type | Description |
|---|---|---|
| activity_idPK | INT | Unique activity identifier |
| customer_id | INT | Customer associated with the activity |
| occurred_at | TIMESTAMP | Timestamp when the activity occurred |
| action_type | VARCHAR(40) | Type of activity performed |