Autor Zpráva
Icka
Profil *
Ahoj, měl bych dotaz:

Mám tabulku ID | AKCE | ... | JAZYK

a jestli lze v rámci jednoho selectu vypsat dva počty záznamů, něco jako:

select count(ID) as PocetCZ where AKCE = 5 and JAZYK = 1, count(ID) as PocetAJ where AKCE = 5 and JAZYK = 2
tiso
Profil
Icka
select count(ID) as pocet, JAZYK from table group by JAZYK where AKCE = 5
Icka
Profil *
JJ, to je ono.. Děkuji za pomoc
Toto téma je uzamčeno. Odpověď nelze zaslat.

0