Try before you join

Your first SQL answer, right now

A football club needs one answer. Complete a real query and see what the database returns. No account needed.

This is a short, anonymous preview. It does not save progress, grant XP or store your query.

The request

Show the name of every player in players. Fill in the missing column and run the query.

Your table for this task

players
11 rows in total

Squad, with their team and position.

SQL names and exercise values do not change with the language: use them exactly as shown. We marked the columns this task needs.

Tap a name to copy it; it will not insert itself into your query.

Take a peek at the data
Sample: 3 of 11 rows. The full table contains more data.
player_idteam_idplayer_namepositionjoined_date
11Iker Salasgoalkeeper2022-07-01
102Sofia Lindqvistdefender2023-03-03
113Peter Adeyemimidfielder2021-01-11

Getting the database ready…

The idea behind the query

How do you answer a question with SQL?

SQL helps you ask a database for specific information. Here the question comes from a football club, and the answer is a table of player names. You do not need to install anything to try it.

  1. Start with the question

    The club wants to know who is in the squad. The players table holds one row per player. Look at its column names to find the one with player names; you do not need every detail about each player.

  2. Choose what to read

    SELECT chooses the column to return. FROM names the table to read. The editor already has the table; your job is to fill the missing column. SELECT * would return more columns than the question asks for.

  3. Check the result

    Run the query and read the returned rows. Each row should give one player name. If the result is not what the club asked for, change the query and run it again; a mistake is part of the practice.

This is one small SELECT exercise. In the courses you also learn to filter, combine and summarize data; EasyQL lets you explore your own CSV and Excel files.