automated commit by check50 [check50=True]

This commit is contained in:
daviddoji
2026-04-28 15:56:41 +02:00
parent 8d861d20df
commit b84eb298cf

8
7.sql
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;