IntermediateEngineeringSQL+20 XP
Add up vibration
Scenario
You are a data analyst in the Engineering team. SUM adds all the numbers in vibration together.
Question
Write your code in the editor, look at the result, then try changing one small thing.
Your task
- Write your code in the editor
- Press Check my answer
- Look at the result on the right
SUM
Read the simple theory: ExcelIntermediate · Record Counting & Average Calculations — question 3 of 30
1. Choose your dataset
Pick an industry and a size. Your code and results change to match.
sql editorpump_checks
Snippets
💡 Explain my whole code, line by line (hover any word in the editor for a tip)
🌈 In short — no coding words
📂 Opens the "pump_checks" table→✅ Shows you the answer
Altogether: this query reads your industry table, picks what you need, and shows the answer as rows.
Start typing to see suggestions. Press Enter to use one. Red marks show the line to fix. Drag a bottom corner horizontally and vertically to resize.
Type your code here ↓
✍️ Tap here to type
Dataset & schema
pump_checks
The tiny starter data. Bigger data scrolls.
Fields
| check_id | pump | vibration |
|---|---|---|
| C1 | PumpA | 3 |
| C2 | PumpB | 5 |
| C3 | PumpA | 2 |
| C4 | PumpC | 7 |
Engineering 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.
- SUM(vibration)