SQL SELECT builder: activity sheet
Goal: Build SELECT queries with WHERE, ORDER BY and LIMIT on a small student table and see which rows come back.
You need: Only the simulation is needed. A notebook for writing the queries helps.
Safety: No special safety needs.
- Run SELECT * and read all eight rows.
- Add WHERE marks > 80 and count the rows.
- Add ORDER BY marks DESC.
- Add LIMIT 2 and write the query in your notebook.
| Query | Rows returned |
|---|---|
Use your browser's Print option to print this page.