::× SELECT distinct(znacka),znacka_nocs FROM produkty_pneumatiky where ( `tmp2`="L" and `sirka`="295" and `profil`="40" and `palce`="R21" and `li`="111" and `si`="Y" and `hlucnost2` <= "70" 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)2
1 row fetched
1 row fetched GOODYEAR×: SELECT distinct(li) FROM produkty_pneumatiky where ( `tmp2`="L" and `sirka`="295" and `profil`="40" and `palce`="R21" and `znacka_nocs`="goodyear" and `si`="Y" and `hlucnost2` <= "70" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by li
$sql_shop->num_rows($res)1
1 row fetched 111×: SELECT distinct(si) FROM produkty_pneumatiky where ( `tmp2`="L" and `sirka`="295" and `profil`="40" and `palce`="R21" and `znacka_nocs`="goodyear" and `li`="111" and `hlucnost2` <= "70" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by si
$sql_shop->num_rows($res)1
1 row fetched Y×: SELECT distinct(hlucnost2) FROM produkty_pneumatiky where ( `tmp2`="L" and `sirka`="295" and `profil`="40" and `palce`="R21" and `znacka_nocs`="goodyear" and `li`="111" and `si`="Y" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by hlucnost2