- 
            
            行转列sql 查看全部
- 
            
            行列转换更好的方式 查看全部
- 
            
            行转列,用到了笛卡尔积 查看全部
- 
            
            需要转换的场景 查看全部
- 
            
            汇总显示的时候 行转列场景2 查看全部
- 
            
            报表统计的时候行转列 查看全部
- 
            
            select count(*)查看全部
- 
            
            删除重复数据  查看全部 查看全部
- 
            
            mysql 行转列  查看全部 查看全部
- 
            
            update user1 join ( select id,user_name,group_concat(_mobile) as _mobile from ( select id,user_name,_mobile from (select s.id as id,u1.id as uid,u1.user_name,substring_index(substring_index(u1._mobile,',',s.id),',',-1) as _mobile from tb_sequence s cross join (select id,user_name,_over,_mobile,char_length(_mobile)-char_length(replace(_mobile,',',''))+1 as size from user1 ) u1 on s.id<=u1.size ) temp group by user_name,_mobile ) t group by user_name ) tt on user1.user_name=tt.user_name set user1._mobile=tt._mobile; 查看全部
- 
            
            重复数据删除,保留ID最大的一位 查看全部
- 
            
            删除重复数据,保留ID号大的 查看全部
举报
 
             
         
                 
                 
                 
                 
                 
                