Unbxd interview question

3)Given the table, write a query and python code to get particular data from the table.