ChallengeEnvironmentSQL+20 XP

Data Analytics case 22: SQL grouping for Environment

Scenario

You are a data professional. A coastal clean-up charity has an issue: managers want to compare every river side by side. As a Data Analyst, you are tasked to solve it.

Question

Group the rows and total each group.

Data Analytics · Problem Solving & Root Cause Analysis — question 22 of 30

Finish all 30 to earn a certificate

1. Choose your dataset

Pick an industry and a size. Your code and results change to match.

sql editor
Type your code here ↓
✍️ Tap here to type

Dataset & schema

water_tests

The tiny starter data. Bigger data scrolls.

Fields

test_idriverph
W1Vaal7
W2Orange6
W3Vaal8
W4Tugela5

Environment data only.

attempts: 0
▶ Output terminal
$ Press “Check my answer” — results appear here.

Your next steps

Each item turns green when your answer includes it.

2 left
  • Groups rows
  • Totals