ååã®ä¾ãæãã®ã»ãSQLã®å®è¡è¨ç»ãã¾ã¨ãã«è¡¨ç¾ã§ãã¦ãããããªã®ã§ã3ã¤ã ãããã¯ã¢ãããã¦è©³ããå³è§£ãã¦ããã¾ãã解説ãªãã ã¨èªåã§ããã¾ãèªãæ°ãããªãã£ãã¨ããã®ãããã¾ã(^^; 1ã¤ç®ã¯SQL 04ãç´¢å¼ã®ãªãç¶æ ã§ãå¾æ¥å¡çªå·(empno)ã7,788ã§ããå¾æ¥å¡ã®åå(ename)ã表示ããSQLã§ãã 2ã¤ç®ã¯SQL 06ãSQLèªä½ã¯SQL 04ã¨åãã§ãããå¾æ¥å¡çªå·(empno)ã«ç´¢å¼ãä»ä¸ãã¦ãã¾ãã 3ã¤ç®ã¯SQL 10ãå¾æ¥å¡å ¨å¡ã®åå(ename)ã¨æå±ããé¨éå(dname)ã表示ããSQLã§ãã ããã§ãrowsã¯ããã¾ã§æ¨å®å¤ã§ãããã¨ã«æ³¨æãã¦ãã ãããç¹ã«ãã¼ãã«çµåãä½æ®µã«ããªãã¨ãrowsã¯ã»ã¨ãã©ãã¦ã«ãªãã¾ããã MySQLã¯å ã ãã¾ãè¤éãªå®è¡è¨ç»ã¯ä½ããªãã®ã§ããã¨ã¯ãµãã¯ã¨ãªã使ç¨ããã¨ãã®EXPLAINãèªããã°ã»ã¼ååã§ã¯ãªãã
{{#tags}}- {{label}}
{{/tags}}