I have 3 tables:
Customer (CustomerID)
CustomerEvent (CustomerEventID, CustomerID, EventTypeID)
EventType (EventTypeID)
Some Customer records have some CustomerEvent records with an EventType, some Customer records have no CustomerEvent records.
How do I identify/insert missing CustomerEvent records of each EventType for each Customer record?
My actual issue is a bit more detailed than that, however, this is the piece I'm struggling with.
Can I use one select statement to identify all missing CustomerEvent records? Or would I need to UNION on each EventType record?