The analytics team wants a quick view of customer email providers, alongside each customer's full name and an organisation label that's safe for display.
| Column | Type |
|---|---|
| CustomerId | INTEGER (Primary Key) |
| FirstName | TEXT NOT NULL |
| LastName | TEXT NOT NULL |
| Company | TEXT |
| Country | TEXT |
| TEXT NOT NULL |
Email is not NULLFullName: FirstName + space + LastNameEmailDomain: everything after the @ in EmailOrg: Company; if NULL, use the string 'Individual'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.