MySQL Forums
Forum List  »  German

Nach Relevanz ordnen
Posted by: Jack Smith
Date: December 07, 2008 04:56PM

Guten Tag,

gibt es in mysql eine Möglichkeit eine solche select Anweisung:

SELECT * FROM table WHERE spalte1='a' OR spalte2='b' OR spalte3='c'

nach Relevanz zu ordnen.
Sprich ein Eintrag, der in

spalte1 a UND in spalte2 b UND in spalte3 c

hat soll vor einem Eintrag, der beispielsweise

in spalte1 a, in spalte2 b und in spalte3 d

hat zurückgeliefert werden.
Ich würde mich sehr über eine Antwort freuen und mich schon im vorraus für eure Bemühungen bedanken.

Grüße
Pady

Options: ReplyQuote


Subject
Views
Written By
Posted
Nach Relevanz ordnen
3632
December 07, 2008 04:56PM
2490
December 10, 2008 03:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.