Odstranen bordel na zacatku.
This commit is contained in:
parent
154c02e8f7
commit
b6f1cc11a2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
WITH akt_rocnik AS (
|
||||
WITH akt_rocnik AS (
|
||||
SELECT rocnik FROM seminar_rocniky
|
||||
WHERE id=(SELECT aktualni_rocnik_id FROM seminar_nastaveni)
|
||||
), 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
|
||||
INNER JOIN resitele ON res.id=resitel_id
|
||||
INNER JOIN seminar_skoly AS sk ON sk.id=skola_id
|
||||
WHERE zasilat='do_skoly'
|
||||
WHERE zasilat='do_skoly'
|
||||
|
|
Loading…
Reference in a new issue