Galerie-Tor

Werkverzeichnis

SELECT COUNT(*) as all_posts FROM `artworks` JOIN `art_translations` ON (artworks.product_id = art_translations.pid) JOIN `artists` ON (artists.id = artworks.artist_id) WHERE artworks.status <> 0 AND art_translations.active = 1 AND art_translations.lang = 'de' AND ( artworks.product_id IN (SELECT att_values.pid FROM `attributes` LEFT JOIN `att_values` ON (att_values.attid = attributes.id_att) WHERE attributes.id_att = '26' AND ( att_values.value BETWEEN 60 AND 70 ))) AND ( artworks.product_id IN (SELECT att_values.pid FROM `attributes` LEFT JOIN `att_values` ON (att_values.attid = attributes.id_att) WHERE attributes.id_att = '27' AND ( att_values.value BETWEEN 60 AND 70 )))
3 : Lost connection to MySQL server during query

×