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=143 OR FK_categories=58 OR FK_categories=59 OR FK_categories=60 OR FK_categories=62 OR FK_categories=63 OR FK_categories=66 OR FK_categories=68 OR FK_categories=69 OR FK_categories=70 OR FK_categories=71 OR FK_categories=72 OR FK_categories=74 OR FK_categories=75 OR FK_categories=76 OR FK_categories=77 OR FK_categories=78 OR FK_categories=79 OR FK_categories=80 OR FK_categories=81 OR FK_categories=82 OR FK_categories=83 OR FK_categories=84 OR FK_categories=85 OR FK_categories=87 OR FK_categories=88 OR FK_categories=91 OR FK_categories=93 OR FK_categories=95 OR FK_categories=96 OR FK_categories=97 OR FK_categories=98 OR FK_categories=99 OR FK_categories=100 OR FK_categories=138)