MySQL Forums
Forum List  »  German

select from where multiple conditions
Posted by: Stefan Kügerl
Date: April 18, 2019 06:38AM

Hallo,

gibt es eine Funktion welche mir bei select mit mehreren Bedingungen zurück gibt welche Bedingungen erfüllt wurden?

z.B.:

select id,spalte from tabelle where spalte like '%zum_beispiel' or spalte like 'noch_ein%beispiel' or spalte like 'letztes%beispiel%';

Als Rückmeldung bekomme ich jetzt z.B. dass 1 Bedingung erfüllt wurde, jedoch nicht welche, gibt hier eine Möglichkeit diese Information zusätzlich zurück zu geben.

Vielen Dank im Voraus!

LG
Stefan

Options: ReplyQuote


Subject
Views
Written By
Posted
select from where multiple conditions
656
April 18, 2019 06:38AM


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.