MYSQL 根据条件取不一样字段统计内容

1.case when 实现查询函数 select  a.periodid,a.periodseq ,ifnull(case p_stautstype when 'inputflag'  then inputflag  spa                                                        when 'sdvflag'  then  sdvflag 
相关文章
相关标签/搜索