怎么这样:
select a.col as type,coalesce (`COUNT`,0) as `count`from (select 'A' as col union allselect 'B' as col union allselect 'C' as col union allselect 'D' as col )aleft join Table1 Ton a.col=T.typeorder by FIELD(a.col,'A','B','C','D') ;

怎么这样:
select a.col as type,coalesce (`COUNT`,0) as `count`from (select 'A' as col union allselect 'B' as col union allselect 'C' as col union allselect 'D' as col )aleft join Table1 Ton a.col=T.typeorder by FIELD(a.col,'A','B','C','D') ;