👑 Premium Sign in Sign up

CSE28 · CSE foundations & data structures

SQL Joins Detective

A school library lost track of books. Use SELECT, JOIN and GROUP BY on the library tables to find the answers.

📶 L200⏱ 30 min🧪 Live lab

🎯 You will learn to

  • Filter with WHERE
  • Join two tables
  • Group and count

🧪 Live environment

Runs entirely in your browser: nothing is installed, no real cloud account is used and your code is never sent to our server.

Loading the lab…

✅ Steps & checkpoints

🗺️ Library joins

Members and books meet in loans; INNER JOIN keeps matches, LEFT JOIN keeps every member, GROUP BY counts.

Library joinsMembers and books meet in loans; INNER JOIN keeps matches, LEFT JOIN keeps every member, GROUP BY counts.membersbooksloansINNER JOINLEFT JOINnever borrowedGROUP BYcountAnswer rowsData storeComputeApp / UI

The 2D diagram shows the exact flow, ports and trust boundaries. The 3D scene is a concept view of the same parts; packets travel along the same arrows.

🤔 Think about it

When do you need a LEFT JOIN instead of an INNER JOIN?

🛡️ Safety & cost

Simulations and in-browser runtimes only.

🧹 Cleanup

Nothing to clean up.

📚 Reference documents

Official sources, checked on 5 Nov 2026. Cloud services change often; check the official page before relying on a feature. All references