MySQL Forums
Forum List  »  German

Re: Datensätze einer Gruppe müssen einer Regel entsprechen
Posted by: Katja Kahl
Date: February 02, 2015 03:47AM

select a.GroupId
from <table> as a
join <table> as b on b.GroupId = a.GroupId and b.Value = 'B'
where a.Value = 'A';

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Datensätze einer Gruppe müssen einer Regel entsprechen
723
February 02, 2015 03:47AM


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.