From 85aed47d109524a866c601a8ac7d445b20c96324 Mon Sep 17 00:00:00 2001 From: daviddoji Date: Wed, 15 Apr 2026 10:49:53 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- 8.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8.sql b/8.sql index e69de29..e78f700 100644 --- a/8.sql +++ b/8.sql @@ -0,0 +1,3 @@ +-- 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. +SELECT ROUND(AVG("height"), 2) AS "Average Height", ROUND(AVG("weight"), 2) AS "Average Weight" FROM "players" WHERE "debut" >= "01-01-2000";