Meta interview question

SQL and python coding round