Spring Health interview question

Easy code in SQL and python.