automated commit by check50 [check50=True]

This commit is contained in:
daviddoji
2026-04-15 10:53:21 +02:00
parent 85aed47d10
commit 7c9efa7e81
2 changed files with 3 additions and 1 deletions

2
8.sql
View File

@@ -1,3 +1,3 @@
-- write a SQL query to find the average height and weight, rounded to two decimal places, of baseball players who -- write a SQL query to find the average height and weight, rounded to two decimal places, of baseball players who
-- debuted on or after January 1st, 2000. Return the columns with the name “Average Height” and “Average Weight”, respectively. -- debuted on or after January 1st, 2000. Return the columns with the name “Average Height” and “Average Weight”, respectively.
SELECT ROUND(AVG("height"), 2) AS "Average Height", ROUND(AVG("weight"), 2) AS "Average Weight" FROM "players" WHERE "debut" >= "01-01-2000"; SELECT ROUND(AVG("height"), 2) AS "Average Height", ROUND(AVG("weight"), 2) AS "Average Weight" FROM "players" WHERE "debut" > "2000-01-01";

2
9.sql
View File

@@ -0,0 +1,2 @@
-- write a SQL query to find the players who played their final game in the MLB in 2022.
-- Sort the results alphabetically by first name, then by last name.