Simplest way to do an array literal in MySQL

后端 未结 0 1906
暗喜
暗喜 2020-12-08 10:29

I would like to get the array [1,2,3] in mysql. For example:

with tbl (id) as (
    select 1 union select 2 union select 3
) select \'something\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题