MySQL Forums
Forum List  »  German

Re: Alle aus Tabelle A bis auf die, die NULL als Wert haben
Posted by: Peter Brawley
Date: October 16, 2020 04:05PM

Die linke Seite ...

LEFT JOIN wcf1_user_option_value v
ON u.userID = v.userID AND v.userOption31 IS NOT NULL AND v.userOption41 IS NOT NULL

... hinterlässt nicht übereinstimmende v Zeilen in der Ergebnismenge.

Um v Zeilen mit übereinstimmender Benutzer-ID und null Benutzeroption31 und null Benutzeroption41 auszuschließen, ändern Sie 'left join' in 'join'.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Alle aus Tabelle A bis auf die, die NULL als Wert haben
269
October 16, 2020 04:05PM


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.