SQLã§å°è¨ãç·åè¨ãæ±ããæã«GROUP BYãå©ç¨ãããã¨ãå¤ãã¨æãã¾ããããããªè»¸ã§éè¨ãããå ´åã«ROLLUP, CUBE, GROUPING SETSã使ããã¨ãã§ããããã§ãã 詳ããã¯ãã¡ãåç § http://homepage2.nifty.com/sak/w_sak3/doc/sysbrd/sq_kj04_4.htm ROLLUP, CUBE, GROUPING SETSã使ããã¨ãã§ãã¾ãã¨æå®ãã¦ããªãã®ã¯åã試ãã¦ãªãããã§ãï¼æ± ãªã試ãã¦ããªããã¨ããã¨ãããã®æ©è½ãå©ç¨ã§ããã®ãOracle, SQL Server, DB2ã ããã§ããOracle XEããã¦ã³ãã¼ãããããã¨æãã¾ãããã©ã¦ã¼ã¶ç»é²ã«å¿ãæãã¾ããwãã¡ãªã¿ã«MySQLã§ã¯ROLLUPã®ã¿ãµãã¼ããã¦ãããããã§ãã ä»åã¯èããããå ¨ã¦ã®çµã¿åããã§éè¨ããCUBEã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æ
{{#tags}}- {{label}}
{{/tags}}