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=16 OR FK_categories=51 OR FK_categories=53 OR FK_categories=54 OR FK_categories=157 OR FK_categories=147 OR FK_categories=156)