::× SELECT distinct(znacka),znacka_nocs FROM produkty_pneumatiky where ( `tmp2`="Z" and `sirka`="235" and `profil`="55" and `palce`="R18" and `li`="104" and `si`="H" and `RF`!="" 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)37
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 LINGLONG×: SELECT distinct(li) FROM produkty_pneumatiky where ( `tmp2`="Z" and `sirka`="235" and `profil`="55" and `palce`="R18" and `znacka_nocs`="linglong" and `si`="H" and `RF`!="" 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(si) FROM produkty_pneumatiky where ( `tmp2`="Z" and `sirka`="235" and `profil`="55" and `palce`="R18" and `znacka_nocs`="linglong" and `li`="104" and `RF`!="" and kategorie_pneu NOT IN("MOTORKOVÉ","ČTYŘKOLKOVÉ","VETERÁNSKÉ","PŘÍVĚSOVÉ")) AND skladem>3 order by si