å³3âOracleä»å±ã®SQLï¼Plusã§å®è¡è¨ç»ã表示ããã¨ãããç»é¢ä¸é¨ã®ã¤ã³ãã³ãã¯å³2ã®ããªã¼ã®è¦ªåé¢ä¿ã表ãã¾ã å¹çã®è¯ãå®è¡è¨ç»ãä½æãã 次ã¯ï¼å®è¡è¨ç»ã®ä½æã§ãããã¡ããä¾ãæãã¦èª¬æããã»ããããããããã§ããããOracleã«ä»å±ãããµã³ãã«ã®å¾æ¥å¡ãã¼ãã«ï¼empï¼ã¨é¨ç½²ãã¼ãã«ï¼deptï¼ããï¼å¾æ¥å¡ã®ä¸è¦§ãåãåºã以ä¸ã®ãããªSQLæãå®è¡ããã¨ãã¾ãã SELECT ename, job, sal, dname FROM emp, dept WHERE emp.deptno = dept.deptno ãã¼ãã«deptã§ã¯é¨ç½²çªå·deptnoã主ãã¼ã§ï¼ã¤ã³ããã¯ã¹pk_deptnoãå®ç¾©ããã¦ãã¾ããä¸æ¹ãã¼ãã«empã§ã¯ï¼deptnoãå¤é¨ãã¼ï¼5ã«ãªãã¾ããï¼ããã«å¯¾ãã¦ã¤ã³ããã¯ã¹ã¯å®ç¾©ããã¦ãã¾ããã ãªããã£ãã¤ã¶ã¯ï¼ãã®SQLæã«å¯¾ãã¦ï¼å³2[æ¡
{{#tags}}- {{label}}
{{/tags}}