SELECT p.format as format, p.id as s_id,p.id_aukce,p.kod,p.cislo,p.nazev,p.popis,p.vyvolavaci_cena,p.kup_ted_cena,p.finalni_cena,p.id_kupujici,p.obrazek,p.obrazek_back,p.fotky,p.fotky_alt,p.id_kategorie_0,p.id_kategorie_1,p.id_kategorie_2,p.id_kategorie_3,p.search_high,p.search_low,o.stav FROM polozka AS p LEFT JOIN objednavka2polozka AS op ON p.id=op.id_polozka AND op.vitezny=1 LEFT JOIN objednavka AS o ON op.id_objednavka=o.id WHERE p.id>0 AND p.id_aukce=205 AND p.finalni_cena=0 AND p.id_kategorie_2=867 ORDER BY p.cislo LIMIT 0,50