Bristol Myers Squibb interview question

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