Mysql中筆試問題解決

一、問題提出 1、表結構rru如下     2、要求查詢顯示結果爲    二、問題解決    方式一:      SELECT DISTINCT c.`year` AS YEAR, (SELECT amcount FROM product WHERE YEAR= c.`YEAR`  AND  MONTH = "1"  )AS m1, (SELECT amcount FROM product WHE
相關文章
相關標籤/搜索