bot50
2026-04-30 07:13:37 +00:00
commit df51b1f360
12 changed files with 204 additions and 0 deletions

9
5.sql Normal file
View File

@@ -0,0 +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
ON perf."team_id" = t."id"
JOIN "players" AS p
ON p."id" = perf."player_id"
WHERE p."first_name" = "Satchel" AND p."last_name" = "Paige";