automated commit by check50 [check50=True]
This commit is contained in:
3
5.sql
3
5.sql
@@ -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
3
6.sql
@@ -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