“Mysql Top Prozent” Code-Antworten

Mysql Top Prozent

SELECT price FROM prices p1 WHERE
(SELECT count(*) FROM prices p2 WHERE p2.price >= p1.price) <=
     (SELECT 0.1 * count(*) FROM prices)
);
Tender Toucan

Mysql Top Prozent

SELECT * FROM prices WHERE price >= (SELECT price FROM prices p1 WHERE
(SELECT count(*) FROM prices p2 WHERE p2.price >= p1.price) <=
     (SELECT 0.1 * count(*) FROM prices)
);
Tender Toucan

Ähnliche Antworten wie “Mysql Top Prozent”

Fragen ähnlich wie “Mysql Top Prozent”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen