IQVIA interview question

Some Queries from SQL?