automated commit by check50 [check50=True]
This commit is contained in:
2
2.sql
2
2.sql
@@ -1,7 +1,7 @@
|
||||
-- write a SQL query to find Cal Ripken Jr.’s salary history.
|
||||
-- Sort by year in descending order.
|
||||
-- Your query should return a table with two columns, one for year and one for salary.
|
||||
SELECT "year", "salary"
|
||||
SELECT s."year", s."salary"
|
||||
FROM "salaries" AS s
|
||||
JOIN "players" AS p
|
||||
ON s."player_id" = p."id"
|
||||
|
||||
Reference in New Issue
Block a user