automated commit by check50 [check50=True]

This commit is contained in:
daviddoji
2026-04-15 10:38:45 +02:00
parent ec65291d36
commit 38ce3a6012
2 changed files with 6 additions and 0 deletions

3
5.sql
View File

@@ -0,0 +1,3 @@
-- write a SQL query to return the first and last names of all right-handed batters.
-- Sort the results alphabetically by first name, then by last name.
SELECT "first_name", "last_name" FROM "players" WHERE "bats" = "R" ORDER BY "first_name" ASC, "last_name" ASC;

3
6.sql
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;