Build a single directory combining customers from USA and employees from Canada for an upcoming North-America summit.
| Column | Type |
|---|---|
| CustomerId | INTEGER (PK) |
| FirstName | TEXT NOT NULL |
| LastName | TEXT NOT NULL |
| Company | TEXT |
| Country | TEXT |
| TEXT NOT NULL | |
| SupportRepId | INTEGER (FK → Employee) |
| Column | Type |
|---|---|
| EmployeeId | INTEGER (PK) |
| LastName | TEXT NOT NULL |
| FirstName | TEXT NOT NULL |
| Title | TEXT |
| ReportsTo | INTEGER (FK → Employee) |
| BirthDate | TIMESTAMP |
| HireDate | TIMESTAMP |
| Country | TEXT |
FullName, Country, RoleTypeTitle contains 'Manager' (case-insensitive), else 'Staff'Ready to take your skills to the next level? Enroll in our comprehensive Data Analyst Career Track to master SQL, Python, Excel, and Power BI.
Run your code to see the result here.