finishing up

This commit is contained in:
BB 2023-10-24 08:02:36 +02:00
parent eb4ac8d072
commit d1339b2122
3 changed files with 10 additions and 5 deletions

View File

@ -1 +1 @@
[{"date":"2023. 10. 10. 9:11:13"},{"velemeny":"asd","date":"2023. 10. 10. 9:11:55"},{"velemeny":"asd","date":"2023. 10. 10. 9:12:24"}]
[{"date":"2023. 10. 10. 9:11:13"},{"velemeny":"asd","date":"2023. 10. 10. 9:11:55"},{"velemeny":"asd","date":"2023. 10. 10. 9:12:24"},{"velemeny":"bruh","date":"2023. 10. 24. 7:56:49"}]

View File

@ -35,3 +35,8 @@ SELECT autok.nev, count(autok.id) AS `mennyiseg` FROM berlesek
***
20. feladat
SELECT
((berlesek.mennyiseg * autok.ar) + berlesek.biztositas) AS `osszes-bevetel`,
round((berlesek.biztositas / ((berlesek.mennyiseg * autok.ar) + berlesek.biztositas)) * 100) AS `max-biztositas-arany`
FROM berlesek
INNER JOIN autok ON autok.id = berlesek.autoId;

View File

@ -26,16 +26,16 @@
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
Rólunk
<a href="#rolunk" class="nav-link">Rólunk</a>
</li>
<li class="nav-item">
Kínálat
<a href="#kinalat" class="nav-link">Kínálat</a>
</li>
<li class="nav-item">
Hírlevél
<a href="#hirlevel" class="nav-link">Hírlevél</a>
</li>
<li class="nav-item">
Kapcsolat
<a href="#kapcsolat" class="nav-link">Kapcsolat</a>
</li>
</ul>
</div>