/* atvevoajanlat_summa_29_494918 */ SELECT COUNT(DISTINCT a.ajanlat_id /*groupby1*/) AS summa FROM ajanlat a LEFT JOIN ajanlat_korutazas ku ON (a.ajanlat_id = ku.ajanlat_id), arajanlat b LEFT JOIN orszag c ON (b.orszag_id = c.orszag_id) LEFT JOIN hajo h ON (b.hajo_id = h.hajo_id), irodak o, idopont x, arak k WHERE a.ajanlat_id = b.ajanlat_id AND a.ajanlat_id = x.ajanlat_id AND x.idopont_id = k.idopont_id AND b.iroda_id = o.iroda_id AND a.ajanlat_status = 1 AND x.idopont_status = 1 AND( (x.idopont_szezonalis = 1 AND x.idopont_datum1 <= '2026-01-11'/*datumMinRug*/ AND `x`.`idopont_datum2` >= '2024-12-12'/*datumMinRugPlus*/) OR (x.idopont_szezonalis = 0 AND x.idopont_datum1 >= '2024-12-11' AND x.idopont_datum1 <= '2026-01-11'/*datumXpstr22*/) ) AND ( (x.idopont_arlejar > '0000-00-00' AND x.idopont_arlejar >= '2024-12-12' /*holnap*/) OR (x.idopont_arlejar = '0000-00-00') ) /*datumFeltetel*/ /*lmq*/ AND ( (x.idopont_ellatas IS NOT NULL AND x.idopont_ellatas IN(1,17)) OR (x.idopont_ellatas IS NULL AND b.ellatas_id IN(1,17)) OR (x.idopont_ellatas IN(1,17) OR b.ellatas_id IN(1,17)) ) /*qqi*/ AND (b.ellatas_id IN(1,17) OR x.idopont_ellatas IN(1,17)) /*ketszer*/ AND (a.ajanlat_megosztas = 1 OR b.iroda_id = 29 OR b.iroda_id = 537) /*irodaquery*/ AND (b.orszag_id IN(5) OR ku.orszag_id IN(5))AND ((b.utjellemzo_id LIKE '%/11/%')) /*sq*/ AND (b.iroda_id IN(489,111,233,430,29,484,528,205,260,141,479,554)) /*_SESSION['query_filter']*/ /*irodaAtvetelKizarva_filter*/ /*litestr*/ /*custom2*/ /*custom4*/ /*egyediirodaquery*/ / Server shutdown in progress