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=20 OR FK_categories=101 OR FK_categories=102 OR FK_categories=103 OR FK_categories=104 OR FK_categories=105 OR FK_categories=106 OR FK_categories=107 OR FK_categories=108 OR FK_categories=109 OR FK_categories=110 OR FK_categories=111 OR FK_categories=112 OR FK_categories=113 OR FK_categories=114 OR FK_categories=115 OR FK_categories=116 OR FK_categories=117 OR FK_categories=118 OR FK_categories=119 OR FK_categories=120)