bot50
2026-04-15 08:49:58 +00:00
commit 359dcd2478
10 changed files with 20 additions and 0 deletions

3
6.sql Normal file
View File

@@ -0,0 +1,3 @@
-- write a SQL query to return the first name, last name, and debut date of players born in Pittsburgh, Pennsylvania (PA).
-- Sort the results first by debut date—from most recent to oldest—then alphabetically by first name, followed by last name.
SELECT "first_name", "last_name", "debut" FROM "players" WHERE "birth_city" = "Pittsburgh" ORDER BY "debut" DESC, "first_name" ASC, "last_name" DESC;