bot50
2026-04-28 14:31:20 +00:00
commit 238f6b866f
12 changed files with 125 additions and 0 deletions

8
7.sql Normal file
View File

@@ -0,0 +1,8 @@
-- write a SQL query to find the name of the player whos been paid the highest salary, of all time, in Major League Baseball.
-- Your query should return a table with two columns, one for the players first name and one for their last name.
SELECT p."first_name", p."last_name"
FROM "players" AS p
JOIN "salaries" AS s
ON s."player_id" = p."id"
ORDER BY s."salary" DESC
LIMIT 1;