Browse Source

Odstranen bordel na zacatku.

remotes/origin/Galerie
parent
commit
b6f1cc11a2
  1. 4
      obalky.sql

4
obalky.sql

@ -1,4 +1,4 @@
WITH akt_rocnik AS ( WITH akt_rocnik AS (
SELECT rocnik FROM seminar_rocniky SELECT rocnik FROM seminar_rocniky
WHERE id=(SELECT aktualni_rocnik_id FROM seminar_nastaveni) WHERE id=(SELECT aktualni_rocnik_id FROM seminar_nastaveni)
), id_rocniku AS ( ), id_rocniku AS (
@ -22,4 +22,4 @@ SELECT res.pohlavi_muz,res.jmeno,res.prijmeni,sk.nazev,sk.ulice,sk.mesto,sk.psc,
FROM seminar_resitele AS res FROM seminar_resitele AS res
INNER JOIN resitele ON res.id=resitel_id INNER JOIN resitele ON res.id=resitel_id
INNER JOIN seminar_skoly AS sk ON sk.id=skola_id INNER JOIN seminar_skoly AS sk ON sk.id=skola_id
WHERE zasilat='do_skoly' WHERE zasilat='do_skoly'

Loading…
Cancel
Save