Hello,
Irgendwie so etwas.
In jedem Fall gibt es das Gegenteil vom Gleichheitsoperator (=), den Ungleichheitsoperator, der, zumindest standardkonform, in SQL nicht als != geschrieben wird wie in vielen Programmiersprachen, sondern als <>.
WHERE bild <> 'kleinbild.jpg'
Alternativ, ohne es probiert zu haben, könnte die Datenbank auch noch eine einfache Negierung der Gesamtaussage schlucken, allerdings muss dabei die Operatorrangfolge beachtet werden (NOT ist stärker als UND und ODER, daher Klammer setzen):
WHERE NOT (bild = 'kleinbild.jpg')
Wobei, wie gesagt, zweite Variante ist gerade nicht ausprobiert, kann auch sein, dass es der Datenbank gegen den Strich geht.
MfG
Rouven
--
-------------------
"I wish it need not have happened in my time" - "So do I, and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us." -- J.R.R. Tolkien: "The Lord Of The Rings: The Fellowship Of The Ring"
-------------------
"I wish it need not have happened in my time" - "So do I, and so do all who live to see such times. But that is not for them to decide. All we have to decide is what to do with the time that is given us." -- J.R.R. Tolkien: "The Lord Of The Rings: The Fellowship Of The Ring"