🗄️ Mandla Mathebula's SQL Playground

Interactive SQL environment hosted on AWS — write queries against a live database in your browser

⚡ Assessment Answers (click to run)

📝 Assessment Questions

  1. A list of clients with a CustomerStatusId of 1, ordered by Surname then Firstname. Columns required are Surname, Firstname, CustomerStatusId and CreateDateTime.
  2. A list of stock items that were sold in January 2018. Stock Description is the only required field.
  3. A list of stock items that were not sold in January 2018. Stock Description is the only required field.
  4. A list of the top 10 highest selling stock items for January 2018. Fields required are Description, Quantity Sold.
  5. A list of the top 10 customers for January 2018 in terms of sale value. Fields required are Firstname, Surname, Number of Sales, Value of Sales.

🚀 Bonus — Advanced Queries

🔍 Explore Data

✍️ Write SQL

📋 Results

Click "Run Query" or select an example above