Tables crm and webshop. Build one deduplicated list of emails (case-insensitive) with a sources column: crm, webshop or both.
crm
webshop
sources
both
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.