I am trying to write a query to return to values. I have a database that has clinical_transactions and I need to know if a person received a proc_code = "SC20" and a proc_code = "SC01" transaction in a given time frame. I have tried inner joins, unions, and temp tables and have not gotten the results I need.