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=9 OR FK_categories=6 OR FK_categories=35 OR FK_categories=36 OR FK_categories=37 OR FK_categories=38 OR FK_categories=39 OR FK_categories=146 OR FK_categories=152 OR FK_categories=154)