culture-images - Bilder der Kunst und Kulturgeschichte

SELECT wws.id,wws.cmi_id FROM wws INNER JOIN metadaten ON (metadaten.id=wws.id) INNER JOIN categories2object ON (metadaten.cmi_id=categories2object.FK_Object) AND gesperrt!=1 AND ranking!=0 and geloescht<>'1' AND (FK_categories=17 OR FK_categories=55 OR FK_categories=56 OR FK_categories=127 OR FK_categories=128 OR FK_categories=129 OR FK_categories=130 OR FK_categories=131 OR FK_categories=132 OR FK_categories=133 OR FK_categories=57 OR FK_categories=134 OR FK_categories=135 OR FK_categories=137)