6 lines
328 B
SQL
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";
|