::× SELECT distinct(znacka),znacka_nocs FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="235" and `profil`="55" and `palce`="R18" and `li`="104" and `valivy_odpor2` <= "B" 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)16
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 NOKIAN×: SELECT distinct(li) FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="235" and `profil`="55" and `palce`="R18" and `znacka_nocs`="nokian" and `valivy_odpor2` <= "B" 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 104×: SELECT distinct(valivy_odpor2) FROM produkty_pneumatiky where ( `tmp2`="C" and `sirka`="235" and `profil`="55" and `palce`="R18" and `znacka_nocs`="nokian" and `li`="104" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by valivy_odpor2