2011-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãªããç ½ã£ã¦ãè©æ¬ºå¸«ããªãã¦è¨ããã¨ããã¨ãããã¯åç´ã·ã¹ã¢ãã§åºé¡ãããåé¡ã§ãã åç´ã·ã¹ã¢ãã®åå¾ã®åé¡ãè¦ãã°åããã¾ãããä»ãæºç¹ã§ãSQLãã§ããªããã°åæ ¼ã§ããªãæ¯éã«ãªã£ã¦ãã¾ããããã§ããåç´ã·ã¹ã¢ããªãã¦ãå°±è·æ°·æ²³æãä¹ãâ¦
ä¸ã®ä¸ã«ã¯æ¬å½ã«ãè©æ¬ºå¸«ãã®ãããªæè¡è ãè©æ¬ºçãªãã®ãä½ã£ã¦é£¯ãé£ã£ã¦ãã¾ãã ä¾ãã°ã以ä¸ãã±ã£ã¨è¦ã¦ä½ããã£ã¦ããSQLãç解ã§ããã§ããããã â ãã¼ãã«æ§é â SQL SELECT è³æ ¼åå¾å±¥æ´è¡¨.社å¡çªå·ï¼COUNT(*) FROM è³æ ¼åå¾å±¥æ´è¡¨ï¼ç¤¾å¡è¡¨ WHEâ¦
ç§ã¯å¦¥åç¹ãã»ã¨ãã©åºãã¾ããããªããããªã«é ãªãªã®ãï¼ãã®çãã¯åç´ã§ãã SQLã使ããã使ããªããã§ã¯ä»¥ä¸ã®æ§ãªã°ã©ãã«ãªãã¾ãã ããããå¤ãã®äººéã¯ä»¥ä¸ã®æ§ãªã¤ã¡ã¼ã¸ä¸ã§ãè°è«ãè¡ã£ã¦ãã¾ãã çãããããç¨åº¦è¨±ããã¨ãã妥åç¹ã¯èµ¤ä¸¸â¦
ã¦ã¼ã¶ã話ãããã¨ããã·ã¹ãã åããã®ãSEã®ä»äºã§ãããã¦ã¼ã¶ãè¨ã£ããã¨ã¯ãé©å®ãè¨ãæããªããã°ãªããªããç§ã¯ SE ã®æ¥åç解ãè¨è¨è½åã«æãå¿ è¦ãªè½åã¯ãã©ãã ãè¨ãæããããããã§ã¯ãªããã¨èãã¦ãã¾ãã å注ã®ãªã売ä¸ã¯ãªãï¼ ã¦ã¼â¦
ååã®ç¶ãã éæ£è¦åããé ç®ã®æ´åæ§ãç¶æããããªã¬ã¼ãããã¦ã¿ã¾ãã ãã©ã³ã¶ã¯ã·ã§ã³ãã¼ãã«ã«ããªã¬ã¼ãè¨å®ããã ä¾ã¨ãã¦ã以ä¸ã®æ§ãªå注æç´°ããã£ãã¨ãã¦ããã®éæ£è¦åé ç®ã®æ´åæ§ãç¶æããããªã¬ã¼ãæ¸ãã¦ã¿ã¾ãã CREATE TABLE T010â¦
ããªã¬ã¼ã®é©å¿ç¯å²ã¯ã¨ã¯ã»ã«ã§åºåã§ããã¨ããã¾ã§ã¨ããã¨ãå¿ ç¶çã«ã§ãããã¨ã¯éããã¾ããé¢é£ãã§ãã¯ãæ´åæ§ã®ç¶æã«éãããã§ãããã ã¾ãã¯æ¸ãã¦ã¿ãã 以åæ¸ããããªã¬ã¼ãå°ãä¿®æ£ãã¦ã¿ã¾ããããï¼SQLServerã§æ¸ãã¾ãããï¼ ããªã¬ã¼â¦
ããªã¬ã¼ãå«ã人ã¯é常ã«å¤ãã ããªã¬ã¼ã¯ã¬ã³ã¼ãã®æ´æ°ãèµ·ç¹ï¼ããªã¬ã¼ã«ãã¦ï¼ã«èªåçã«åãã®ã§ãã¢ããªã±ã¼ã·ã§ã³å´ã®ããã°ã©ã ã½ã¼ã¹ããã¯è¿½ãããããããããã°ã©ããæå³ããªãçµæã«ãªããã¨ããããã¨ããã®ãå«ãããä¸çªã®çç±ã§ããããâ¦
æ£è¦åã®å¹çãèãã¦ã¿ãã æ£è¦åã¯åºæ¬çãªæè¡ã§ãããCOBOLããæãããã¦ããªãã¨æ£è¦åããã¨é ããªãã¨æããæ§ã«ãªãã ããã¯ããããç§ãã ããã¨æãããã©ãå¹çãã°ã©ãåãã¦æåã«è¨ªããå±±ãæé«ã¨æãããã®ã§ããããã¯ã¤ã¾ããè½ã¡å§ããâ¦
ãããããç§ã¯ããã°ã©ã ãç¿ã£ããã¨ããªããããä¸è¬çãªå°éå¦æ ¡ãªã©ã§ãã£ã¦ããæ§ãªè¬ç¾©ã¯ç¥ããªããããããããªããç§ãè¬å¸«ãããã¨å³ããããã®ã§ãæ°äººæè²ãæ å½ãããã¨ã¯ãªãã®ã§ãããã©â¦â¦ã æ°äººãç¸æããã¨ãã«ãç§ãæåã«èª¬æããã®ã¯ãâ¦
ååã®ç¶ãã§ãããã£ã¨å®æã§ãã ãã£ããã¨ããèãæ¹ï¼æ¯åï¼ GROUP BY ã¯éç´ããã®ã§ãçµæãï¼éç´ãã¼ãåºåããã°ï¼ä¸æã«ãªããã¤ã¾ããåºåãããçµæãä¸æã«ãªãã¾ã§éç´ãããã ããããOLAPï¼åæï¼é¢æ°ã¯ãSELECTãããçµæãåºåã£ã¦å¦çâ¦
ååã®ç¶ãã§ãããã£ã¨OLAPï¼åæï¼é¢æ°ã¾ã§ãã©ãçãã¾ããã ãã£ããã¨ããèãæ¹ï¼æ¯åï¼ GROUP BY ã¯éç´ããã®ã§ãçµæãï¼éç´ãã¼ãåºåããã°ï¼ä¸æã«ãªããã¤ã¾ããåºåãããçµæãä¸æã«ãªãã¾ã§éç´ãããã ããããOLAPï¼åæï¼é¢æ°ã¯ãSELâ¦
ååã®ç¶ãã§ãã ãã£ããã¨ããèãæ¹ï¼æ¯åï¼ GROUP BY ã¯éç´ããã®ã§ãçµæãï¼éç´ãã¼ãåºåããã°ï¼ä¸æã«ãªããã¤ã¾ããåºåãããçµæãä¸æã«ãªãã¾ã§éç´ãããã ããããOLAPï¼åæï¼é¢æ°ã¯ãSELECTãããçµæãåºåã£ã¦å¦çããããã®ãããâ¦
OLAPï¼åæï¼é¢æ°ã¯èãæ¹ã¨ãã¦ã¯ãSQLã®ä»ã®æ§æãããæç¶ãåè¨èªã¨å·®ãå°ããã èãæ¹ã§ã¯ãªããææ³ããå ¥ã人ã«ã¨ã£ã¦ã¯ã¨ãã§ããªãéãã«æããããç¥ãã¾ããããçãã¯åããªã®ã§ãããéãã¯ãªãã®ã§ãã é·ããªãã®ã§æ°åã«åãã¦æ¸ããã¨æãâ¦
æ¥åã·ã¹ãã ã®ã»ã¨ãã©ã¯ããã¥ã©ã«ãã¼ã§æ§ç¯ããã¦ããã¨æãã¾ãã ããããã·ããã ãããªã¬ã¼ãå©ç¨ããã°ãæ¢åã·ã¹ãã ãå¤æ´ãããã¨ãªããµãã²ã¼ããã¼ã追å ãã¦ããã以éããµãã²ã¼ããã¼ã«ããéç¨ãå¯è½ã«ãªãã¾ããæé ã¯ä»¥ä¸ã®éãã§ãã â¦
å®å ¨ã«æ°è¦ã®æ¡ä»¶ã¨ããã®ã¯æ¬å½ã«å°ãªãã®ã§ãå®è·µã§ãããã¨ã¯ã»ã¼ãªãçæ³è«ã§ãããç§ã®çæ³ã¨ãããã¼ãã«æ§é ã¨å½åæ³ã§ãã ã¾ãã¯ããµãã²ã¼ããã¼ã«ã¤ã㦠ãµãã²ã¼ããã¼ã¨ããã®ã¯æ¥åä¸æå³ã®ãªããã¼ã®ãã¨ã§ãã ä¾ãã°ãçå¾ãã¼ãã«ã¯ã年次â¦
ã®ã¼ã¯ã»ã¹ã¼ãã¨ã¯ãããããå¤ã表ç¾ã§ãã使ããããã®ã§ãã®ã¾ã¾ä½¿ãã¾ãã 人éç 究ã¨ãã¦åçºäºæ ã«ã¤ãã¦èãã¦ãã¦ãä½åº¦ãããã«ã®å£ãã«ã¶ã¤ãã£ãããã¯ãç¡æèã»ã©æããã®ã¯ãªããåæã®é¨åã§éãåãã¦ããããããã®å¾ã¯å ¨ãåã¿åããªããâ¦
ç«ã¦ç¶ãã«åå¼·ä¼ã§ã話ãããã¦é ãã¾ãã SQLWorldâ 大éª#7 2011/10/15(å) 13:00 to 17:00 http://club-windows7.net/ ãã¹ãã¢ãã使ã£ãéçºã 第12åé¢è¥¿ITåå¼·å®´ä¼ ä¸æµå·¥ç¨åå¼·ä¼ 2011/10/28(é) 19:00 to 22:00 http://atnd.org/events/20842 ããã¼â¦
èª ã«æ®å¿µãªãã¨ã«ã¹ãã£ã¼ãã»ã¸ã§ããºæ°ã亡ããªã£ã¦ãã¾ã£ãããå¥ç¦ããç¥ããããã¾ãã ç§ã¯ã¹ãã£ã¼ãã»ã¸ã§ããºæ°ã«ããã»ã©ã®æãå ¥ãããªããã§ããããæãå ¥ãã®ãã人éãèªãã°è¯ãã ããã¨èãã¦ãã¾ããããã®å績ã¯ééããªãç«æ´¾ã§è³è³ã«å¤â¦
http://d.hatena.ne.jp/Sikushima/20111008/1318037160 ã®ç¶ãã ä½åº¦ãæ£ã æ¸ãã¦ããããã©ãSQLã¯C++ã§ã§ããããã°ã©ã ãã©ãããã¦ããã ãã§ãããããããããä¸åº¦å¥ã®è¨èªã§ã©ãããã¦ãçè«çã«ã¯å¹ççã«ã¯ãªãå¾ãªãã æµ·å¤æ è¡ããã¦ã¿ãã³å±ã§â¦
åå¼·ä¼ã«åå ãã¦ãããã次ã®åå¼·ä¼ã§ã話ããããã¨ã«ãªã£ãã®ã§å®£ä¼ã§ãã åã®åå¼·ä¼ã§ã¯ä»¥ä¸ã®æ§ãªå®é¨ã話é¡ã«ãªã£ã¦ãã¾ãããhttp://www.doaplus.com/html/bun/bun03_20051101.html ã¾ãã極ãã¦å½ããåã®çµæã§ãã 5000ä¸ä»¶ã500ä¸ä»¶ã«ãªãã¨ããâ¦
â éè¦ ç§ã®ç®çã¯@librahackæ°ã®åèªå復ã¨åçºé²æ¢ã§ãã åèªå復ã¯ãã¹ã³ãã®å ±éã¨ããã³ãã¼ã®è¬ç½ªã«ãã£ã¦ãªãããã¹ãã åçºé²æ¢ã¯ãITæ¥çã®èªèãå¤ããã¹ããã¨èãã¦ãã¾ãã twitterã¯è°è«ã«ã¯åããªãã ã©ããã¦ããç´è¿ã®140æåã«åå¿ããâ¦
以åã岡å´å³æ¸é¤¨äºä»¶ãªã©ã®é¨åããå¼ã£è¶ããããã®ã§ãããã¤ãã¤ããã£ã¦ããã§æ¸ãã®ãæ¢ãã¦ãã¾ãã¾ãã¦ããã¡ãã¸å¾©æ´»ããããã¨æã£ãããã°ãæ®ã£ã¦ããªãã£ãï¼è¦ç¬ï¼ã ããããéæãæ¡ã£ã¦ããã¦ãã人ãããããã§å¶ç¶è¦ã¤ãã¾ãããç§ããªãâ¦
ããæ製ãã¼ãã£ã·ã§ã³ãã¼ãã«ã®ã¡ãªãã¡ã ãã©ãã¯ããã¯ãé ããã®ã§å°ãã http://d.hatena.ne.jp/Sikushima/20110813 ã®ã¤ã¥ãã§ãã åããã«ããã¦ãã¿ã¾ããã§ããã http://d.hatena.ne.jp/iad_otomamay/20110808/1312805917 http://d.hatena.ne.â¦
http://d.hatena.ne.jp/Sikushima/20110809 http://d.hatena.ne.jp/Sikushima/20110810 http://d.hatena.ne.jp/Sikushima/20110811 http://d.hatena.ne.jp/Sikushima/20110815 ã®ã¾ã¨ãã§ãã ä½åº¦ãä½åº¦ãSQLã§ãã£ãæ¹ãçè«çã«ã¯å¹ççã¨æ¸ãã¦ãããä½â¦
ç§ã¯ããããªäººã«çµ¡ã¾ãã¦ãã¾ããä»ã¾ã§ã®ã¹æ°ç¾äººãç¸æã«ãã¦ããã®ã§ãã³ã¡ã³ãä¸ããæ¹ã¯ã³ã¡ã³ããéã£ãï¼ã¨ããæè¦ããç¥ããªãããã©ãæ®å¿µãªããä¼ã£ããã¨ããªã人ãè¦ãããªãã¦ãã¨ã¯ã»ã¨ãã©ããã¾ããã ï¼å¹´ä»¥ä¸åã«ããããªæ¡ä»¶ã§C++ã§JOIâ¦
http://d.hatena.ne.jp/Sikushima/20110809 http://d.hatena.ne.jp/Sikushima/20110810 http://d.hatena.ne.jp/Sikushima/20110811 ã®ç¶ãã§ãã ã·ãã¢ãªè¨è¨ãè¦æ±ãããã¨ãããã¨ã¯ããªã½ã¼ã¹ã®ã©ããã«ããã«ããã¯ãçºçããã¨ãããã¨ã«ãªãã¾ãã ãâ¦
ãæ製ãã¼ãã£ã·ã§ã³ãã¼ãã«ããåæ£ãã¼ã¿ãã¼ã¹ãããã®ãããªããæ¹ã§ã¯å®ã¯ãã£ããã¨ã¯ãªãã çè«ä¸ã¯ãæ製ã§å¯è½ã§ããããã¼ãã£ã·ã§ã³ãã¼ãã«ã¨åæ£ãã¼ã¿ãã¼ã¹ãå¿ è¦ãªè¦æ¨¡ã§ã¯ Enterprise Edition ãå°å ¥ããæ¹ãè¯ãã¨ããå¤æã«ãªããæ¿æ²»â¦
SQLã使ããªãæåäºä¾ãããã¾ãããªãã¦æ¸ãã¨ãSQLãè¦æã ã¨èãã¦ãã層ã«ããããã©ããªã«ããããã¦ãã¦ã§ã諸æãæãã¦åãå ¥ããããã ããããããã¸ã§ã¯ãã¨ãã¦ã¯æåã§ããæè¡çã«æåã¨ãæ£ããã¨ãè¨ããªãããã¡ãããããã ãã§ã¯ééã£â¦
æ°å¤ãæååã§æã¤ã¹ãã§ã¯ãªã ã³ã¡ã³ããããã ããã®ã§ã åã®è¨äºã¯ãã¡ãã http://d.hatena.ne.jp/Sikushima/20110809/1312871002 å ãã¿ã¯ãã¡ãã http://d.hatena.ne.jp/iad_otomamay/20110808/1312805917 http://d.hatena.ne.jp/iad_otomamay/201â¦
ãã¾ãã«æ°ã«ãªã£ãã®ã§ãå±±æ¬å¤§ï¼ ã¯ããã¹ã®æ¥è¨ãã«ãã£ãã£ãå ¥ãã¦ã¿ãã http://d.hatena.ne.jp/iad_otomamay/20110808/1312805917 http://d.hatena.ne.jp/iad_otomamay/20100906/1283786846 ã¾ããæ¿æ²»çã«ã¯ã©ã®ã¿ã¡åã¦ãªãã£ãã§ããããç§ãåãæ¡â¦