Primary Keys
Example 1:
| fruit_id | name |
|----------|----------|
| 1 | Banana |
| 2 | Apple |
| 3 | Orange |
| 4 | Eggplant |
| 5 | Avocado |Example 2:
| event_date | event_name | channel | source | campaign_id | spend |
|------------|-----------------|------------|--------------|-------------|--------|
| 2022-01-01 | Marketing Spend | Search Ads | Google Ads | 123 | 18.67 |
| 2022-01-01 | Marketing Spend | Search Ads | Google Ads | 456 | 54.21 |
| 2022-01-02 | Marketing Spend | Search Ads | Google Ads | 456 | 48.21 |
| 2022-01-01 | Marketing Spend | Social Ads | Facebook Ads | 102212210 | 54.21 |
| 2022-01-01 | Marketing Spend | Social Ads | Facebook Ads | 441215442 | 126.46 |
| 2022-01-02 | Marketing Spend | Social Ads | Facebook Ads | 102212210 | 214.21 |Why is the Primary Key important?
Last updated
Was this helpful?
