Explain the difference between inner, left, and full joins and when you would use each in a product analysis context.
Use the provided tables to demonstrate the three join behaviors with a single PostgreSQL query. Include matched records, users without events, and events without users.
join_type, user_id, country, event_id, and event_name.join_type.user_id and event_id.| Column | Type | Description |
|---|---|---|
| user_idPK | INT | Unique Remitly user identifier |
| country | VARCHAR(2) | User's two-letter country code |
| Column | Type | Description |
|---|---|---|
| event_idPK | INT | Unique product event identifier |
| user_id | INT | User associated with the event, when available |
| event_name | VARCHAR(50) | Name of the product event |