IQVIA interview question

Guesstimates and puzzles along with basic sql