How to Host a Beginner SQL Night at Your Coding Club
One of the best ways to grow a club is to run a session on something members keep asking about. Databases are often top of that list. This guide shows how to plan and run a friendly, beginner-level SQL evening, based on what typically works well in club sessions.
Step 1: decide the goal
Keep it small and concrete. A good goal for one evening: "Everyone writes five SELECT queries on a small database and understands what each one does." Avoid trying to cover joins, design and app connections all at once.
Step 2: choose the tools
Use something with no setup, so nobody spends the evening installing software:
- SQLite with DB Browser for SQLite, installed beforehand on club computers, or
- a browser-based SQL sandbox, if your network allows it.
Test the tools on the actual computers a few days before.
Step 3: prepare a practice database
Make a tiny, friendly data set with two or three tables. A made-up example:
CREATE TABLE films (id INTEGER PRIMARY KEY, title TEXT, year INTEGER, genre TEXT);
INSERT INTO films (title, year, genre) VALUES
('Space Adventure', 2015, 'sci-fi'),
('The Quiet Lake', 2009, 'drama'),
('Robot Picnic', 2021, 'comedy');
Topics people already like, such as films, games or books, make the queries more fun.
Step 4: plan the agenda
| Time | Activity |
|---|---|
| 0 to 10 min | Welcome, what a database is, open the practice file |
| 10 to 25 min | Live demo: SELECT *, then choosing columns |
| 25 to 45 min | Exercises: WHERE and ORDER BY |
| 45 to 60 min | Exercises: COUNT and simple GROUP BY |
| 60 to 75 min | Challenge questions in pairs |
| 75 to 90 min | Share answers, questions, what to learn next |
Step 5: find helpers
One helper for every five or six people works well. Helpers do not need to be experts; they need to have done the exercises beforehand and be happy to say "let's find out together".
Step 6: write the exercises
Write them as questions, not instructions. For example:
- Which films came out after 2010?
- List all films, newest first.
- How many films are comedies?
- How many films are there in each genre?
Have answers ready on a separate sheet for helpers.
Step 7: run the evening
- Start on time and keep the demo short.
- Encourage people to read error messages aloud; they are often easy to fix together.
- Celebrate mistakes. The best learning moment is often a query that returns something unexpected.
Step 8: follow up
Share the practice file, the exercises and a link to a next step, such as our beginner hub. Ask members what they want next: joins, connecting an app, or designing tables. Then plan session two.
Common pitfalls
- Spending the first half hour on installation problems.
- A demo that runs too long.
- Exercises that are too hard too soon.
- No helpers, so people with questions are left waiting.
A free learning page for beginners. Practise on a test database, never on real customer data, and check the official documentation for your database version.
Illustrative outline only: no live session, recording, registration or certificate is offered on this site. Any speakers, panels or schedules mentioned are hypothetical.