SQL Query or Pandas Python Code (In 4 hours)

Job ID: 31798561

Budget: $10 – $30 USD

I need a simple MS SQL query, Python code (Pandas) or both. Please review attached file for detail. You can supply either one or both. I need it right away.
Related categories: Python SQL Microsoft SQL Server