Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[psp] priklady - tisky a jejich stavy #44

Open
kokes opened this issue Mar 15, 2019 · 0 comments
Open

[psp] priklady - tisky a jejich stavy #44

kokes opened this issue Mar 15, 2019 · 0 comments
Labels
dokumentace SQL jde o nějaké databázové machinace

Comments

@kokes
Copy link
Owner

kokes commented Mar 15, 2019

SELECT
	tts.popis_stavu, tt.*
FROM
	psp.tisky_tisky tt
	INNER JOIN psp.poslanci_organy org ON org.id_organ = tt.id_org_obd and org.zkratka in ('PSP6', 'PSP7', 'PSP8')
	INNER JOIN psp.tisky_stavy using(id_stav)
	INNER JOIN psp.tisky_typ_stavu tts using(id_typ)

order by zkratka desc
@kokes kokes added SQL jde o nějaké databázové machinace dokumentace labels Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dokumentace SQL jde o nějaké databázové machinace
Projects
None yet
Development

No branches or pull requests

1 participant