kangkaisen opened a new issue #3855:
URL: https://github.com/apache/incubator-doris/issues/3855


   ```
   mysql> SELECT a+b*2+c*3+d*4,
       ->        CASE a+1 WHEN b THEN 111 WHEN c THEN 222
       ->         WHEN d THEN 333  WHEN e THEN 444 ELSE 555 END,
       ->        (SELECT count(*) FROM t1 AS x WHERE x.c>t1.c AND x.d<t1.d),
       ->        c
       ->   FROM t1
       ->  WHERE (c<=d-2 OR c>=d+2)
       ->  ORDER BY 4,2,1,3;
   ERROR 1064 (HY000): errCode = 2, detailMessage = Subquery is not supported 
in the select list.
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to