IQVIA Interview Question

Some Queries from SQL?