MYSQL 根據條件取不一樣字段統計內容

1.case when 實現查詢函數 select  a.periodid,a.periodseq ,ifnull(case p_stautstype when 'inputflag'  then inputflag  spa                                                        when 'sdvflag'  then  sdvflag 
相關文章
相關標籤/搜索