你想要array_agg
select array_agg(console_id) as consoles from archive_sessions where tournament_id = 14817
上一篇 UPSERT功能的存储过程
下一篇 SQL Server:查找大于5的最近连续记录
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号