Your question is LeetCode SQL Practice. Start with the requirements and the one table on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
KPIT's Connected Engineering portal receives email addresses from employees and external collaborators. Different address formats can refer to the same mailbox, so reporting must count each valid destination only once.
Write a PostgreSQL query that calculates the number of unique normalized email addresses in portal_emails.
@ symbol.+ character and everything after it.email is NULL.| Column | Type | Description |
|---|---|---|
| email_idPK | INT | Unique identifier for the submitted email row |
| VARCHAR(255) | Submitted email address |