Files
me50/10.sql
2026-04-15 11:01:52 +02:00

6 lines
328 B
SQL

-- write SQL query to answer a question of your choice. This query should:
-- Make use of AS to rename a column
-- Involve at least condition, using WHERE
-- Sort by at least one column using ORDER BY
SELECT ROUND(AVG("weight"), 2) AS "Average Weight" FROM "players" WHERE "birth_year" > 2000 ORDER BY "first_name";