::× SELECT distinct(znacka),znacka_nocs FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="215" and `profil`="60" and `palce`="R16" and `li`="99" and `valivy_odpor2` <= "C" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by znacka_nocs
$sql_shop->num_rows($res)64
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched
1 row fetched FORTUNE×: SELECT distinct(li) FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="215" and `profil`="60" and `palce`="R16" and `znacka_nocs`="fortune" and `valivy_odpor2` <= "C" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by li
$sql_shop->num_rows($res)2
1 row fetched
1 row fetched 99×: SELECT distinct(valivy_odpor2) FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="215" and `profil`="60" and `palce`="R16" and `znacka_nocs`="fortune" and `li`="99" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by valivy_odpor2