-- 串联多行id
SELECT GROUP_CONCAT(cast(`id` as char(10)) SEPARATOR ',') as id from project
Logo

更多推荐