MySQL Forums
Forum List  »  Newbie

Re: Problems with the IF function
Posted by: Peter Brawley
Date: May 08, 2021 10:24AM

Show a blank for `Disziplin' when it <> 'Carbine' ...

If( Scheiben.Disziplin='Carbine', Scheiben.Disziplin, '' ) AS 'Disciplina',

But as written the query isn't valid unless GruppenID, Disziplin, sciplina, n.Vorname, Nachname, Mannschaft are each one-to-one invariant with respect to the grouping column `scheibenID.`

Options: ReplyQuote


Subject
Written By
Posted
Re: Problems with the IF function
May 08, 2021 10:24AM


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.