Labcorp Interview Question

Java coding question using hashmaps SQL update query, subqueries