raorao
Anmeldedatum: 13.12.2011 Beiträge: 1
|
Verfasst am: 13.12.2011, 18:01 Titel: 4 of 5 fields matching? |
|
|
Dear forum!
I need a WHERE clause where at minimum 4 of 5 fields match. Is there a shortcut for this in mysql? I know I could do it using SumOfProducts (e.g. f1 AND f2 AND f3 AND f4) OR (f1 AND f2 AND f3 AND f5) OR ...
But this gives an endless query, so a shortcut would be quite usefull for big N's...
Thanks for any help!
raorao |
|