CodingDojoã®ã¢ããªã¹ãã«ãããš ãSQLã¯ã©ããªã«å¥åŠã«èãããŠããããã°ã©ãã³ã°èšèªã®äžã§æãéèŠã§å¿ èŠãªã¯ãšãªèšèªã§ãã CodingDojoã®è©äŸ¡ã§ã¯ãåŽååžå Žã«ãããããã°ã©ãã³ã°èšèªã®éèŠã«é¢ããçµ±èšãèæ ®ãããŸãã
çµå±ã®ãšãããDBMSïŒMySQLãPostgreSQLãMicrosoft SQL ServerïŒã¯ã©ãã«ã§ããããŸãã倧å°ã®äŒæ¥ãç é¢ãéè¡ã倧åŠãªã©ã§ãã åºæ¬çã«ãSQLã¯ãã¹ã¯ãããããã€ã¹ã®ã¿ã«éå®ãããŸãããSQLiteDBMSã¯ãApple Androidã¹ããŒããã©ã³ããã³ã¢ãã€ã«ããã€ã¹ã§æåããŸããã ãããã£ãŠãSkypeãDropboxãªã©ã®ã¢ããªã±ãŒã·ã§ã³ã¯åžžã«ã¢ã¯ã»ã¹ããŸãã
ãã ããã¹ããŒããã©ã³ããªãå ŽåããããŸãããããã®èšèªã¯ãã§ã«ååšããŠããŸããã SQLã®æŽå²ã¯æ°å¹Žã§ã¯ãªããæ°å幎ã§ãã 圌ãã¯ããã«åœŒãä¿¡ããŸããã§ããã
System Rããã³IBM
ãã®èšèªã®æåã®èšåã¯1974幎ã«é¡ããŸãã SQLã¯Project Rã®å®éšçãªãªã¬ãŒã·ã§ãã«DBMSã·ã¹ãã Rã®äžéšãšããŠäœæãããŸãããIBMã¯ãã®ãããžã§ã¯ãã«åŸäºããŠããŸããã
åœåããã®èšèªã¯SEQUELïŒStructured English Query LanguageïŒãšåŒã°ããŠããŸãããããã®ãã¬ãŒãºãããè±èªããšããèšèãæ¶ããç¥èªã¯ç§ãã¡ãé·ãéæ £ã芪ããã§ãã圢ã«ãªããŸããã äžæ¹ã§ã¯ãSQLã¯ãªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ãžã®ã¯ãšãªã®ãŠãŒã¶ãŒãã¬ã³ããªãªè¡šçŸã«åããããŠããŸããã äžæ¹ãã»ãŒæåãããããã¯ããããããã«ããŒã¿ããŒã¹èšèªãã§ããã ããã¯ãSQLã«æ¬¡ãå«ãŸããããšãæå³ããŸãã
â¢ããŒã¿ããŒã¹ã¹ããŒãã決å®ããã³æäœããæ段ã
â¢æŽåæ§å¶çŽãšããªã¬ãŒã決å®ããæ段ã
â¢ããŒã¿ããŒã¹è¡šçŸãå®çŸ©ããæ段ã
â¢ã¯ãšãªã®å¹ççãªå®è¡ããµããŒãããç©çå±€ã®æ§é ã決å®ããæ段ã
â¢é¢ä¿ãšãã®ãã£ãŒã«ããžã®ã¢ã¯ã»ã¹ãèš±å¯ããæ段ã
â¢ãã©ã³ã¶ã¯ã·ã§ã³ã»ãŒããã€ã³ããå®çŸ©ãããã©ã³ã¶ã¯ã·ã§ã³ãã³ãããããã³ããŒã«ããã¯ããæ段ã
確ãã«ã䞊åãã©ã³ã¶ã¯ã·ã§ã³ã®åŽããããŒã¿ããŒã¹ãªããžã§ã¯ããžã®ã¢ã¯ã»ã¹ãåæããæ段ãå®è£ ããŠããŸããã§ããã å®éãéçºè ã¯ãå¿ èŠãªåæãDBMSã«ãã£ãŠæé»çã«å®è¡ããããšæåã«èšç®ãããšããããšã§ãã
ãã®èšèªã¯ããªã¬ãŒã·ã§ãã«ããã³éãªã¬ãŒã·ã§ãã«ã®äž¡æ¹ã®å€§éšåã®DBMSã«å®è£ ãããŠããŸãã éçºã®ç®çã¯ãããã°ã©ãã³ã°ã¹ãã«ããæããªããŠãŒã¶ãŒã§ã䜿çšã§ãããåçŽãªéæç¶ãåèšèªãäœæããããšã§ããã
ã¯ãšãªèšèªã¯ãDonald D. ChamberlinãšRay Boyceã«ãã£ãŠéçºãããŸããã
SEQUELããã®ç®çã®å¯äžã®èšèªã§ã¯ãããŸããã§ããã ã«ãªãã©ã«ãã¢å€§åŠããŒã¯ã¬ãŒæ ¡ã§ã¯ãéå¶å©ã®DBMSã§ããIngresãéçºãããŸãããããã¯ãªã¬ãŒã·ã§ãã«DBMSã§ããããç¬èªã®QUELèšèªã䜿çšããŠããŸããããSQLãšæ¯èŒããŠããããµããŒãããDBMSã®æ°ã«å¹æµããããšã¯ã§ããŸããã§ãããSystem Rã¯ãæãè€éã§å®å šãªããŒãžã§ã³ã®SQLãå®è£ ããŠããŸãã åãIBMã®SQL / DSãšDB2ã®æ©èœã¯ãããã«å°ãªãã£ãã SQLã·ã¹ãã Rããã¯ãååã«éçºãããŠããªãéšåïŒããšãã°ãã»ãŒããã€ã³ãïŒããŸãã¯å®è£ ã«ãã£ãŠæè¡çåé¡ã倧ããããéšåïŒããšãã°ãæŽåæ§å¶çŽãããªã¬ãŒïŒã®ã¿ãåé€ãããŸããã
åæ¥çæå
ãããã£ãŠãIBMãæ¡çšããSQLã®åçšå®è£ ãžã®éã¯ããããããŠã³éåãšåŒã°ããŸãã
OracleãInformixãããã³Sybaseã¯ç°ãªãæ¹æ³ã§è¡ããŸãããããã ã¢ããïŒåžå Žã«å°å ¥ããããããã®ã·ã¹ãã ã®æåã®ããŒãžã§ã³ã¯ãSQLã·ã¹ãã Rã®ããªãéããããµãã»ããã䜿çšããŸããã ãã ããOracle DBMSã§ã®SQLã®æåã®åçšå®è£ ã§ã¯ããµã³ããªã³ã°æŒç®åã§ãã¹ãããããµãã¯ãšãªã®äœ¿çšãèš±å¯ãããŠããããè€æ°ã®é¢ä¿ã®ååç©ã§ã¯ãšãªãäœæããå¯èœæ§ã¯ãããŸããã§ããã
2011幎æç¹ã®åžå Žã·ã§ã¢ã®ååž
ãªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ç®¡çã·ã¹ãã ãžã®æ©æ移è¡ã«å¯Ÿããåžå Žã®é¢å¿ã®é«ãŸãã«ãããäžèšã®äŒæ¥ã®éçºè ã¯åæ¥çãªæåãåããããšãã§ããŸããã ããã¯ãDBMSãå®ç§ããã¯ã»ã©é ããšããäºå®ã«åããŠããããèµ·ãããŸããã ããŠãä»ã§ã¯OracleãInformixãSybaseãMicrosoft SQL Serverã¯éåžžã«åŒ·åãªSQLæ¹èšããµããŒãããŠããŸãã
æšæºå
SQLã®å€ãã®æ¹èšã®åºçŸãšãã®æé·ã¯ãäºææ§ã®åé¡ããã®ä»ã®ççŸã«ã€ãªãããšèããããŠããŸããã
ããããSQLèšèªã®æšæºåã¯éåžžã«æééãã«å§ãŸããŸãã-æåã®åçšå®è£ ã®åºçŸãšã»ãŒåæã«ã 1982幎ãç±³åœèŠæ ŒåäŒïŒANSIïŒã®ããŒã¿ããŒã¹å§å¡äŒã¯ããªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ã®æšæºèšèªã®ä»æ§ã®éçºãä»»ãããŸããã
1986幎ã«å€±æããäžé£ã®èŠæ Œã®ããŒãžã§ã³ãæåŠããåŸãå°é家ã¯å ±éç¹ãèŠã€ããŸããã ãããŠ1987幎ãSQL / 86æšæºã¯åœéæšæºåæ©æ§ïŒISOïŒã«ãã£ãŠæ¿èªãããŸããã
SQL System Rãæšæºã®åºç€ãšããããšã¯äžå¯èœã§ãããŸãããã®ããŒãžã§ã³ã®èšèªã¯æè¡çã«ååã«æ©èœããŠããŸããã§ããã 第äºã«ãå®è£ ããã®ãé£ããããã§ãããã ãããã£ãŠã1980幎代åæã«IBMã§éçºãããSQLèšèªã®æ¹èšãåºç€ãšããŠæ¡çšãããŸããã æ¬è³ªçã«ããã®æ¹èšã¯SQL System Rã®ãµãã»ããã§ããã
SQL1æšæº
1989幎ãŸã§ã«ãSQL / 86æšæºã¯ãããã«æ¡åŒµããããã®åŸãANSI / ISO SQL / 89ãšåŒã°ãã次ã®æšæºãç»å ŽããŸããã
SQL / 89ã¯ãäžçã§æåã«åãå ¥ããããSQLèšèªæšæºã§ãã ãã®èšèªã«ã¯å€ãã®æ¬ ç¹ããããŸããå€ãã®éèŠãªæŠå¿µãå®çŸ©ãããŠããããå€ãã¯å®è£ ã«ç¿»åŒãããŠããŸãã ãã®æšæºã¯ãããŒã¿ããŒã¹ã¹ããŒããåçSQLã®æäœãªã©ã®éèŠãªã»ã¯ã·ã§ã³ãå®å šã«æé€ããŸãã
ããã«ããããããã圌ã¯çã«æšæºåããããªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ç®¡çã·ã¹ãã ã®éçºã«ãããŠåœ¹å²ãæãããŸããã ããã«ãSQL / 89æšæºã®åºçŸã«ãããç¹å®ã®DBMS補é æ¥è ãšããŸãé¢ä¿ã®ãªãæ å ±ã·ã¹ãã ã®èšèšãéçºãããã³ä¿å®ãå¯èœã«ãªããŸããã ããæå³ã§ãSQL / 89ã®åºçŸã¯ããªãŒãã³ã·ã¹ãã ãžã®ããŒã¿ããŒã¹ãã¯ãããžãŒã®é²æ©ã§ããã
ãããããSQL / 89æšæºã®æãéèŠãªææã¯ãæ§æã®æ確ãªæšæºåãããŒã¿æ€çŽ¢ãšããŒã¿æäœæŒç®åã®æ確ãªæšæºåãããã³ããŒã¿ããŒã¹ã®æŽåæ§ãå¶éããæ段ã®åºå®ã§ãã
ãã®èŠæ Œã§ã¯ã2ã€ã®ã¬ãã«ã®èšèªãšãæŽåæ§ãç¶æããããã®åå¥ã®æ段ãå®çŸ©ãããŠããŸãã ã¬ãã«2ã¯ãæŽåæ§ããŒã«ãå«ãŸãªãå®å šãªSQLããŒã¿ããŒã¹èšèªã§ãã ã¬ãã«1ã¯ãã¬ãã«2ã®æå®ããããµãã»ããã§ãã
æŽåæ§ããŒã«ã«ã¯ã以äžã決å®ããæ©èœãå«ãŸããŠããŸãã
â¢ããŒãã«éã®ãªã³ã¯ã«å¿ èŠãªå¶éã
â¢ããŒãã«è¡ã®å¶çŽã確èªããŸãã
â¢ããŒãã«ã«è¡ãå ¥åãããšãã®ããã©ã«ãã®åå€ã
å€éšããŒã決å®ããæ段ã«ãããããŒã¿ããŒã¹ã®ããããåç §æŽåæ§ã®èŠä»¶ãç°¡åã«å®åŒåã§ããŸãã ãªã¬ãŒã·ã§ãã«ããŒã¿ããŒã¹ã§äžè¬çãªãã®èŠä»¶ã¯ãSQL System Rã®æŽåæ§å¶çŽã®äžè¬çãªã¡ã«ããºã ã«åºã¥ããŠå®åŒåã§ããŸãããå€éšããŒã®æŠå¿µã«åºã¥ããå®åŒåã¯ããç°¡åã§ç解ãããããã®ã§ãã
ããŸããŸãªæšæºã§ã®çµåæäœã®æ©èœ
SQL2æšæºãšãã®è¿œå
SQLæšæºã®äžå®å šããèªèããŠãããŸããŸãªäŒæ¥ã®å°é家ãSQL2ãšåŒã°ãã次ã®æšæºã®äœæ¥ãéå§ããŸããã ãã®äœæ¥ã¯æ°å¹Žç¶ããå€ãã®æšæºãã©ãããçºè¡ãããŸãããæçµçã«1992幎3æã«æšæºã®æçµãã©ããïŒSQL / 92ïŒãæ¡çšãããŸããã ãã®æšæºã¯ãSQL / 89æšæºãããã¯ããã«å®å šã§ãããã¢ããªã±ãŒã·ã§ã³ã®å®è£ ã«å¿ èŠãªã»ãŒãã¹ãŠã®åŽé¢ãç¶²çŸ ããŠããŸãïŒããŒã¿ããŒã¹ã¹ããŒãã®æäœããã©ã³ã¶ã¯ã·ã§ã³ã®ç®¡çïŒä¿åãã€ã³ãã衚瀺ãããŸãïŒããã³ã»ãã·ã§ã³ïŒã»ãã·ã§ã³ã¯ãäžæçãªé¢ä¿ãæ ŒçŽããããã©ã³ã¶ã¯ã·ã§ã³ã®ã·ãŒã±ã³ã¹ã§ãïŒãããŒã¿ããŒã¹æ¥ç¶ãåçSQLã æåŸã«ãããŒã¿ããŒã¹ãã£ã¬ã¯ããªã®é¢ä¿ãæšæºåãããŸãããããã¯å®éã«ã¯èšèªã«çŽæ¥é¢ä¿ããŠããŸããããå®è£ ã«å€§ãã圱é¿ããŸãã
1995幎ã«ãæšæºã¯åŒã³åºãã¬ãã«ã€ã³ã¿ãŒãã§ã€ã¹ïŒSQL / CLIïŒä»æ§ã«ãã£ãŠè£è¶³ãããŸããã SQL / CLIã¯ãåçã«å®çŸ©ãããSQLã¹ããŒãã¡ã³ããå®è¡ã§ããããã«ããåŒã³åºããæã€ããã·ãŒãžã£ã€ã³ã¿ãŒãã§ã€ã¹ã®ä»æ§ã®ã»ããã§ãã åºæ¬çã«ãSQL / CLIã¯åçSQLã®ä»£æ¿ã§ãã
SQL / CLIæšæºã¯ããŠããã¿ã¹ODBCïŒOpen Database ConnectivityïŒããã³JDBCïŒJava Database ConnectivityïŒã€ã³ã¿ãŒãã§ãŒã¹ã®äœæã®åºç€ãšããŠæ©èœããŸããã
1996幎ãå¥ã®ã³ã³ããŒãã³ããSQL / 92æšæºã«è¿œå ãããŸãã-SQL / PSMïŒPersistent Stored ModulesïŒã ãã®ä»æ§ã®äž»ãªç®çã¯ãã¹ãã¢ãããã·ãŒãžã£ãå®çŸ©ããã³äœ¿çšããæ¹æ³ãæšæºåããããšã§ããã€ãŸããããŒã¿ããŒã¹ã«æ ŒçŽãããã¢ããªã±ãŒã·ã§ã³ã«ãã£ãŠåŒã³åºãããDBMSå ã§å®è¡ã§ããSQLã¹ããŒãã¡ã³ããå«ãç¹å¥ã«èšèšãããããã°ã©ã ã§ãã
Oracleã¯æã人æ°ã®ããDBMSã®1ã€ã§ãã ããã«ãSQL / 92æšæºãšã®äºææ§ãå®è£ ãããã®ã¯åããŠã§ããã
ãããŠåœåãSQLèšèªããµããŒãããæåã®DBMSã¯ãVAXãã·ã³çšã«éçºãããOracle V2ã§ããã ããã¯1979幎ã®ããšã§ããOracleã¯ãWindowsãLinuxãMax OS XãSun Solarisãªã©ãããŸããŸãªãã©ãããã©ãŒã ããµããŒãããŠããŸãã
Oracleãéçºããæç¶ãåæ¡åŒµæ©èœã®SQLã¯PL / SQLïŒæç¶ãåèšèª/æ§é åç §äŒèšèªïŒãšåŒã°ããAdaããã³Pascalèšèªã®æ§æã«åºã¥ããŠããŸãã Oracle DBMSã§SQLããã³PL / SQLãšãšãã«äœ¿çšããã3çªç®ã®äž»èŠèšèªã¯Javaã§ãã
PL / SQLã¯ãããã°ã©ã ãããã¯ã®ã»ããæ°å€ãæååãæ¥ä»ããããŒå¶åŸ¡æŒç®åïŒæ¡ä»¶ä»ããžã£ã³ããšã«ãŒããå«ãïŒããã³3çš®é¡ã®ã³ã³ãããŒïŒã³ã¬ã¯ã·ã§ã³ïŒãæ ŒçŽããããã®ããŸããŸãªããŒã¿åããµããŒãããŸã-å¯å€é·é åãé£æ³é åããã¹ããããããŒãã«ã
SQL3æšæº
åœåã¯ã1995幎ã«æ°ããæšæºã®äœæ¥ãçµäºããäºå®ã§ããã å®éã«ã¯ãæ°ããæšæºã®äœæ¥ã¯1999幎ã«ã®ã¿éšåçã«å®äºããŸããããã®ãããæšæºã¯SQLïŒ1999ãšåŒã°ããŠããŸããã
SQLèšèªæšæºã®åæ°ããããŒãžã§ã³ã¯ã以åã®ããŒãžã§ã³ãããå€§å¹ ã«å€§ãããªããŸããã ãããã£ãŠãæšæºã®SQL / 89ãçŽ600ããŒãžãå ããŠããå ŽåãSQL / 92ã®ããªã¥ãŒã ã¯300ããŒãžä»¥äžå¢ããŸãããæåã®SQL3ãããžã§ã¯ãã¯çŽ1,500ããŒãžãå æããŸããã
ããããSQL3ã®éçºè ã¯ããã®ãããªæšæºã®ããªã¥ãŒã ã«ããããã®æ¡çšãšãã®åŸã®ãµããŒãã®æåã®å¯èœæ§ãå€§å¹ ã«æžå°ãããšããçµè«ã«éããŸããã ãããã£ãŠã圌ãã¯æšæºãæ¯èŒçç¬ç«ããéšåã«åå²ããããšã決ããŸããã
1999幎ã«ãSQLæšæºã®5ã€ã®éšåã§ãã1999ãæ¡çšãããŸããã
æåã®éšåïŒSQL /ãã¬ãŒã ã¯ãŒã¯ïŒã¯ãæšæºã®æŠå¿µæ§é ã®èª¬æã«åœãŠãããŸãã ãã®ããŒãã§ã¯ã次ã®4ã€ã®ããŒãã®è©³çŽ°ãªèŠçŽãæäŸããæšæºã«æºæ ããŠãããšäž»åŒµããå®è£ ã®èŠä»¶ãçå®ããŸãã
SQLã®2çªç®ã®éšåïŒ1999ïŒSQL / FoundationïŒã¯ãæšæºã®åºç€ã圢æããŸãã èšèªã¿ã€ãã®ã·ã¹ãã ãå°å ¥ãããæ©èœã®äŸåé¢ä¿ãšå¯èœãªããŒã決å®ããããã®èŠåãå®åŒåãããäž»èŠãªSQLã¹ããŒãã¡ã³ãã®æ§æãšã»ãã³ãã£ã¯ã¹ã決å®ãããŸãã
â¢ããŒã¿ããŒã¹ã¹ããŒãã決å®ããã³æäœããããã®æŒç®åã
â¢ããŒã¿æäœæŒç®åã
â¢ãã©ã³ã¶ã¯ã·ã§ã³ç®¡çãªãã¬ãŒã¿ãŒã
â¢ããŒã¿ããŒã¹æ¥ç¶ç®¡çãªãã¬ãŒã¿ãªã©
3çªç®ã®éšåã¯ãSQL / 92ãšæ¯èŒããŠãæå®ãããSQL / CLIä»æ§ã§å ããããŠããŸãã 4çªç®ã®éšåã§ã¯ãSQL / PSM âã¹ãã¢ãããã·ãŒãžã£å®çŸ©èšèªã®æ§æãšã»ãã³ãã£ã¯ã¹ãæå®ããŸãã æåŸã«ã5çªç®ã®éšåïŒSQL /ãã€ã³ãã£ã³ã°ïŒã¯ãããã°ã©ãã³ã°èšèªã®æšæºããŒãžã§ã³ã®SQLãã€ã³ãã£ã³ã°ã«ãŒã«ãå®çŸ©ããŸãã
SQLïŒ1999ã«ã¯ãããã«ããã€ãã®éšåãå«ãŸããããšã«ãªã£ãŠããŸãã ãã®äžã§ã次ã®ããŒã«ã®ä»æ§ïŒ
â¢åæ£ãã©ã³ã¶ã¯ã·ã§ã³ç®¡çïŒSQL /ãã©ã³ã¶ã¯ã·ã§ã³ïŒã
â¢ãã³ãã©ã«ããŒã¿ããããã£ïŒSQL /ãã³ãã©ã«ïŒã®ãµããŒãã
â¢å€éšããŒã¿ç®¡çïŒSQL / MEDïŒã
â¢ãªããžã§ã¯ãæåããã°ã©ãã³ã°èšèªïŒSQL / OLBïŒãžã®ãã€ã³ãã
â¢éçšåæåŠçïŒSQL / OLAPïŒã®ãµããŒãã
21äžçŽã®SQL
2003幎ã®çµããã«ãåœéçãªSQLïŒ2003æšæºã®æ°ããããŒãžã§ã³ãæ¡çšãããå ¬éãããŸããã å€ãã®å°é家ã¯ãSQLïŒ1999ã«ç¶ãæšæºã®ããŒãžã§ã³ã§ã¯ãSQLïŒ1999ã®äžæ£ç¢ºæ§ã®ã¿ãä¿®æ£ããããšä¿¡ããŠããŸããã ãããå®éã«ã¯ãSQLïŒ2003ã§ã¯ãããã€ãã®æ°ããéèŠãªããããã£ãæå®ãããŠããã2008幎ã®åŸåã«ããããªå€æŽãå°å ¥ãããŠããŸãã
SQLïŒ2003æšæºã®ããŒã2ã§æå®ãããŠããSQLèšèªã®æãéèŠãªå€æŽã¯ã次ã®åŽé¢ã«é¢é£ããŠããŸãã
â¢ããŒã¿åã
â¢SQLããåŒã³åºãããã«ãŒãã³ã
â¢CREATE TABLEã¹ããŒãã¡ã³ãã®é«åºŠãªæ©èœã
â¢æ°ããåè·¯ãªããžã§ã¯ã-ã·ãŒã±ã³ã¹ãžã§ãã¬ãŒã¿ã
â¢æ°ããã¿ã€ãã®å-èå¥åïŒIDåïŒããã³çæåïŒçæåïŒã
â¢æ°ããæŒç®åMERGEã
æšæºã®äžè¬çãªçµç¹ã¯ãããã€ãã®å€æŽãåããŠããŸãã SQLïŒ2003æšæºã¯ã次ã®éšåã§æ§æãããŠããŸãã
â¢9075-1ãSQL /ãã¬ãŒã ã¯ãŒã¯ã
â¢9075-2ãSQL / Foundation;
â¢9075-3ãSQL / CLIã
â¢9075-4ãSQL / PSMã
â¢9075-9ãSQL / MEDã
â¢9075-10ãSQL / OLB;
â¢9075-11ãSQL /ã¹ããŒãã
â¢9075-13ãSQL / JRT;
â¢9075-14ãSQL / XMLã
ããŒã1-4ããã³9-10ã¯ãå¿ èŠãªå€æŽãå ããŠãSQLïŒ1999ãšåããŸãŸã§ããã ããŒã5ïŒSQL /ãã€ã³ãã£ã³ã°ïŒã¯ååšããªããªããŸããã é¢é£ããä»æ§ã¯ããŒã2ã«å«ãŸããŠããŸãã
æ å ±ã¹ããŒã ã«ç¹åããSQLïŒ1999ããŒã2ã®ã»ã¯ã·ã§ã³ã¯ãå¥ã®ããŒã11ã§åŒ·èª¿è¡šç€ºãããŠããŸãã2ã€ã®æ°ããããŒã-13ãš14ãç»å ŽããŸããã
ããŒã13ã¯ãå®å šã«ãJavaããã°ã©ãã³ã°èšèªã䜿çšããSQLã«ãŒãã³ãšåããšåŒã°ããŠããŸãã æšæºã®ãã®éšåã®å€èŠ³ã¯ãSQLæåã®DBMSã®å€§æã¡ãŒã«ãŒããJavaèšèªãžã®æ³šç®ãé«ãŸã£ãŠããããšã«ãã£ãŠæ£åœåãããŠããŸãã
æåŸã«ãSQLã®æåŸã®éšåã§ãã2003ã¯ãSQLç°å¢ã§XMLããã¥ã¡ã³ããæäœã§ããããã«ããèšèªããŒã«ã®ä»æ§ã«ç¹åããŠããŸãã
éçºè ã®åªåã«ãããããããæšæºåããã»ã¹ã¯æããã«å€æŽã«å¯Ÿå¿ããŠããŸããã
SQLå±¥æŽã®ãã€ã©ã€ã
ããã§ããããŒã¿ããŒã¹ã¹ããŒãã®å®çŸ©ãããŒã¿ã®éžæãšæäœãããŒã¿ã¢ã¯ã»ã¹ã®èš±å¯ãããã°ã©ãã³ã°èšèªãžã®SQLã®åã蟌ã¿ã®ãµããŒããåçSQLã¹ããŒãã¡ã³ããå«ãSQLã¹ããŒãã¡ã³ãã®åºæ¬ã»ããã¯ãåçšå®è£ ã§ååã«ç¢ºç«ãããŠãããã»ãŒæšæºã«æºæ ããŠãããšèšããŸãã
PS SQLã¯ãåŸæ¥ã®ããã°ã©ãã³ã°èšèªã«å®å šã«åž°å±ããããšã¯ã§ããŸãããããã°ã©ã ã®å®è¡ãå¶åŸ¡ããåŸæ¥ã®æŒç®åãåèšè¿°æŒç®åãªã©ã¯å«ãŸããŠããŸãããããŒã¿ããŒã¹ã«ä¿åãããããŒã¿ã«ã¢ã¯ã»ã¹ããããã®æšæºæŒç®åã®ã»ããã®ã¿ãå«ãŸããŠããŸãã ãããããããã®ãæ¬ ç¹ãã¯ãITã®æŽå²ã«ããã圌ã®äœçœ®ãèãããšã圌ãèš±ããŠããŸãã