|
Rückgabewert von MySQL-Query beinflussen
Hey,
ich suche eine Möglichkeit einen SQL-Query so zu gestalten das wenn ein bestimmter Fall eintritt die Rückgabe NULL ist!
Konkretes Beispiel: Ich Zähle per COUNT die Anzahl der Datensätze in meiner Tablle wenn die die Anzahl größer als 20 ist soll das Ergebniss der Abfrage NULL sein.
Kann man das in MySQL irgendwie bewerkstelligen??
lg
Flow
__________________
Lesser known Programming Languages #13: SLOBOL
... Although many compilers allow you to take a coffee break while they compile, SLOBOL compilers allow you to travel to Bolivia to pick the coffee. Forty-three programmers are known to have died of boredom sitting at their terminals while waiting for a SLOBOL program to compile. Weary SLOBOL programmers often turn to a related (but infinitely faster) language, COCAINE.
|