I'm creating an SQLite view to track customer emails and their accounts. There are some customers who created multiple accounts with the same email address. Using SQLite, is there a way to restrict the view to return each email only once regardless of how many accounts that individual has? I am not concerned which account gets discarded (i.e. Jim1 or Jim2).
AccountName Email
Jim1 Jim@example.com
Jim2 Jim@example.com
Shania Sh@example.com
The view would return:
AccountName Email
Jim1 Jim@example.com
Shania Sh@example.com
Thanks!