Interesting idea of using a function within the SQL statement to combine the sets to a third table on-the fly. I have no experience in this, but it seems very doable. I will have to do the required reading before starting. Thank you for the cool option.