automated commit by check50 [check50=True]

This commit is contained in:
daviddoji
2026-04-28 15:40:19 +02:00
parent 3ee6ac7d46
commit 92f9132939
4 changed files with 17 additions and 6 deletions

6
5.sql
View File

@@ -1,9 +1,9 @@
-- write a SQL query to find all teams that Satchel Paige played for.
-- Your query should return a table with a single column, one for the name of the teams.
SELECT DISTINCT t."name"
FROM "teams" as t
JOIN "performances" as perf
FROM "teams" AS t
JOIN "performances" AS perf
ON perf."team_id" = t."id"
JOIN "players" as p
JOIN "players" AS p
ON p."id" = perf."player_id"
WHERE p."first_name" = "Satchel" AND p."last_name" = "Paige";