30 free days · 32 places left

Learn SQL through practice on real business cases.

Structured courses, interactive exercises and concrete projects that build SQL skills you can actually use.

  • No installation
  • First activities free
SQL environment · customers and orders12 fictional rows · amounts in euros
Available columns
idINTEGERnomVARCHAR
SQL…

A real SQL environment in your browser

38structured lessonsFrom foundations to advanced topics
62interactive exercisesWith result validation
8business projectsConcrete, realistic cases
100%in your browserNo installation required

Three paths, one clear progression

Choose the level that matches your goal.

Start with the foundations, build your analysis reflexes, then master advanced PostgreSQL features.

Beginner path

SQL Foundations

Build reliable queries, from filters to joins and CTEs.

  • SELECT
  • WHERE
  • GROUP BY
20 specialised lessonsView the programme

Data Analyst path

SQL for Data Analysts

Turn business data into KPIs, trends and verifiable decisions.

  • CTEs
  • Windows
  • Dates
10 specialised lessonsView the programme

Advanced SQL path

Advanced SQL with PostgreSQL

Master transactions, performance, automation and security with PostgreSQL.

  • Transactions
  • EXPLAIN
  • Functions
8 specialised lessonsView the programme

Practise, understand, progress

No passive course: every concept leads to an action.

SQL.tn keeps the useful explanations, while first asking you to manipulate data and validate a result.

  1. 1

    Read the mission

    Start from a clear business question and an understandable schema.

  2. 2

    Write and run

    Test your query in an isolated lab, with no installation.

  3. 3

    Use the feedback

    Compare the result, reveal progressive hints and improve.

  4. 4

    Take the next challenge

    Save progress and move on to richer business cases.

A product built for practice

See what you will actually use.

Explore the platform
  • A clear, guided brief
  • A complete SQL environment
  • Hints when needed
  • A detailed correction
  • Works on mobile and desktop

Customers by country

Easy

List each country and its number of customers. Sort by customer count in descending order.

Illustrative preview. Open your first guided exercise alongside.

SELECT
  pays,
  COUNT(*) AS nombre_clients
FROM clients
GROUP BY pays
ORDER BY nombre_clients DESC;

Verified reviews

They learn with SQL.tn

Feedback is published only with the author’s explicit consent.

“I really liked the hands-on approach. Instead of just reading SQL theory, you actually write queries, make mistakes and learn by practising. Great for building confidence.”
James WJunior Data Analyst

Why SQL.tn?

A practical, results-focused approach.

Active learning

Interactive exercises from day one.

Concrete skills

Real cases inspired by professional work.

Designed in Tunisia

Content suited to local and international markets.

Completion certificate

Showcase the skills you have actually acquired.

Your first query is ready

Create your space and start practising.

The first lesson is free and your progress will be saved.

Create my free account No bank card · immediate access