By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
@quer |
---|
SELECT ROUND(avg(prices.price),2) FROM (SELECT current_Price as price FROM UNION_SALES WHERE location = Αρχαία Αγορά and current_Price >5000 ORDER BY current_Price ASC LIMIT ?) as prices; |