MySQL Forums
Forum List  »  PHP

Re: SQL newbie question
Posted by: Peter Brawley
Date: August 28, 2020 09:52AM

SQL is by design an incomplete language, somewhat literal-minded.

Used as a statement,, each CASE may specify one or more statements in a statement_list.

But used as n your case as an operator on a Select expression,, each CASE specifies one alternative ... each comma-delimited Select expression may specify just one column of the resultset.

Options: ReplyQuote

Written By
August 27, 2020 05:37PM
Re: SQL newbie question
August 28, 2020 09:52AM

Sorry, only registered users may post in this forum.

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.