This commit is contained in:
BB 2023-10-24 08:58:17 +02:00
parent f131145d3e
commit 1c95f97fd4

View File

@ -29,7 +29,7 @@ INSERT INTO autok (rendszam, szin, kategoriaId, nev, evjarat, ar) VALUES
SELECT autok.nev, count(autok.id) AS `mennyiseg` FROM berlesek
INNER JOIN autok WHERE berlesek.autoId = autok.id
GROUP BY autok.id
ORDER BY count(berlesek.id) DESC
ORDER BY count(autok.id) DESC
LIMIT 5;
***