Reference solution
The shape we check against. Compare it with your query: the set of rows matters, the formatting does not.
SELECT name, price FROM products WHERE price > (SELECT AVG(price) FROM products) ORDER BY price DESC;
Return the name and price of every product priced above the average product price. Sort by price descending.
hint ladder
Write a query with WITH … AS (…) blocks, then inspect each intermediate table before the final SELECT.
Run your code to see its output, or check your solution to grade it.
Reference solution
The shape we check against. Compare it with your query: the set of rows matters, the formatting does not.
SELECT name, price FROM products WHERE price > (SELECT AVG(price) FROM products) ORDER BY price DESC;
Code is blurred until you solve this problem — the reasoning stays readable.