fixed task№4 boolean

This commit is contained in:
Alex
2026-02-08 12:55:07 +03:00
parent edc1e0af19
commit 0bdc2ef452
@@ -68,5 +68,5 @@ select category, name, price, AVG(price) over (partition by category) as avg_pri
from products_extended
)
select category, name, price, avg_price,
case when price > avg_price then 'true' else 'false' end as is_above_avg
case when price > avg_price then true else false end as is_above_avg
from get_data