PharmEasy Interview Question

Questions around sql joins, python functions