automated commit by check50 [check50=True]
This commit is contained in:
1 parent
ec65291d36
commit
38ce3a6012
2 files changed
+6
No files matched your search
@@ -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;
|
||||
@@ -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;
|
||||
Reference in new issue
Block a user