表结果:create table user( id int , username ), create_time datetime, type int ) insert into user (`id`,`username`,`create_time`,`type`) '), ('), ('), ('), ('), ('), ('), ('), ('), ('), ('), ('); 数据表: 静态用 case when then mysql 只能,动态用存储 , SQL Server中行列转换用…