摘要:
1.Mysqlset @sql = concat(right(replace(',a,b,c,d,e,f,g',',',''' as S union select '''),length(replace(',a,b,c,d,e,f,g',',',''' as S union select '''))... 阅读全文
摘要:
数据表:userid namegroup_id1张三12李四13王五21. mysql、sqlite:group_contact函数: select group_concat(id) ids, group_id from user group by group_id结果:ids group_id1... 阅读全文