From 1c95f97fd451c5bc83e1e3d13fdb7d9354c8da01 Mon Sep 17 00:00:00 2001 From: BB Date: Tue, 24 Oct 2023 08:58:17 +0200 Subject: [PATCH] nothing --- lekerdezesek/lekerdezesek.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lekerdezesek/lekerdezesek.sql b/lekerdezesek/lekerdezesek.sql index 1b88e49..52d3135 100644 --- a/lekerdezesek/lekerdezesek.sql +++ b/lekerdezesek/lekerdezesek.sql @@ -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; ***