Domanda di colloquio di Bristol Myers Squibb

Write SQL query given 2 tables. Asked to write few standard pandas function.