<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ## 33、求出部門名稱中,帶'S'字符的部門員工的工資合計、部門人數. ![](https://img.kancloud.cn/c6/45/c645b9aab5e0bce9dfd18d706477bb7a_260x52.png) 思路 1.使用emp和dept 進行多表查詢,并消除笛卡爾積 select * from emp e right join dept d on e.deptno=d.deptno 2.在步驟1的基礎上過濾掉部門名中沒有s的部門 select * from emp e right join dept d on e.deptno=d.deptno where d.dname like '%S%' 3.在步驟2的基礎上根據部門編號和部門名進行分組 select * from emp e right join dept d on e.deptno=d.deptno where d.dname like '%S%' group by d.deptno 4.在步驟3的基礎上添加顯示列統計部門的人數,和工資合計 select d.deptno,max(d.dname),ifnull(sum(sal),0) ,count(empno) from emp e right join dept d on e.deptno=d.deptno where d.dname like '%S%' group by d.deptno
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看