This commit is contained in:
2
1.sql
Normal file
2
1.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the hometown (including city, state, and country) of Jackie Robinson.
|
||||
SELECT "birth_city", "birth_state", "birth_country" FROM "players" WHERE "first_name" = "Jackie" AND "last_name" = "Robinson";
|
||||
2
2.sql
Normal file
2
2.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the side (e.g., right or left) Babe Ruth hit.
|
||||
SELECT "bats" FROM "players" WHERE "first_name" = "Babe" AND "last_name" = "Ruth";
|
||||
2
3.sql
Normal file
2
3.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- write a SQL query to find the ids of rows for which a value in the column debut is missing.
|
||||
SELECT "id" FROM "players" WHERE "debut" IS NULL;
|
||||
3
4.sql
Normal file
3
4.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- write a SQL query to find the first and last names of players who were not born in the United States.
|
||||
-- Sort the results alphabetically by first name, then by last name.
|
||||
SELECT "first_name", "last_name" FROM "players" WHERE "birth_country" != "USA" ORDER BY "first_name" ASC, "last_name" ASC;
|
||||
Reference in New Issue
Block a user