Optum Interview Question

Multiple problem statements and asked for the corresponding SQL commands and codes