久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='uSmjT'></bdo><ul id='uSmjT'></ul>

        <small id='uSmjT'></small><noframes id='uSmjT'>

      1. <legend id='uSmjT'><style id='uSmjT'><dir id='uSmjT'><q id='uSmjT'></q></dir></style></legend>
      2. <i id='uSmjT'><tr id='uSmjT'><dt id='uSmjT'><q id='uSmjT'><span id='uSmjT'><b id='uSmjT'><form id='uSmjT'><ins id='uSmjT'></ins><ul id='uSmjT'></ul><sub id='uSmjT'></sub></form><legend id='uSmjT'></legend><bdo id='uSmjT'><pre id='uSmjT'><center id='uSmjT'></center></pre></bdo></b><th id='uSmjT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uSmjT'><tfoot id='uSmjT'></tfoot><dl id='uSmjT'><fieldset id='uSmjT'></fieldset></dl></div>
      3. <tfoot id='uSmjT'></tfoot>

        嵌套聚合函數

        Nested aggregate functions(嵌套聚合函數)

        • <bdo id='hmYVe'></bdo><ul id='hmYVe'></ul>

            <tbody id='hmYVe'></tbody>

          <small id='hmYVe'></small><noframes id='hmYVe'>

          1. <legend id='hmYVe'><style id='hmYVe'><dir id='hmYVe'><q id='hmYVe'></q></dir></style></legend>

                  <tfoot id='hmYVe'></tfoot>
                • <i id='hmYVe'><tr id='hmYVe'><dt id='hmYVe'><q id='hmYVe'><span id='hmYVe'><b id='hmYVe'><form id='hmYVe'><ins id='hmYVe'></ins><ul id='hmYVe'></ul><sub id='hmYVe'></sub></form><legend id='hmYVe'></legend><bdo id='hmYVe'><pre id='hmYVe'><center id='hmYVe'></center></pre></bdo></b><th id='hmYVe'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='hmYVe'><tfoot id='hmYVe'></tfoot><dl id='hmYVe'><fieldset id='hmYVe'></fieldset></dl></div>
                  本文介紹了嵌套聚合函數的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..
                  SELECT MAX(AVG(SYSDATE - inv_date)) FROM invoice;
                  

                  這個查詢有什么問題?

                  Avg 返回單個值 否Max 需要一個小組來處理,所以它不會執行并給出錯誤?請解釋工作這是一個不會執行的測驗問題 我想知道它不執行的原因 我不知道允許嵌套聚合函數嗎?

                  Avg returns single value no Max requires a group to work on so it dosent execute and give error? Please explain working It's a quiz question according to which it won't execute I want to know the reason why it dosent execute I can't figure it out nested aggregate functions are allowed right?

                  推薦答案

                  Oracle 允許嵌套聚合函數(參見 文檔).

                  Oracle allows nested aggregation functions (see the documentation).

                  然而,它需要一個GROUP BY.所以這是允許的:

                  However, it requires a GROUP BY. So this is allowed:

                  SELECT MAX(AVG(SYSDATE - inv_date))
                  FROM invoice
                  GROUP BY Cust_ID;
                  

                  基本上,這是一個捷徑:

                  Basically, this is a short-cut for:

                  SELECT MAX(x)
                  FROM (SELECT AVG(SYSDATE - inv_date) as x
                        FROM invoice
                         GROUP BY Cust_Id
                       ) i;
                  

                  不過,就您而言,沒有 GROUP BY.Oracle 不允許在沒有 GROUP BY 的情況下嵌套 GROUP BY.

                  In your case, though, there is no GROUP BY. Oracle doesn't allow nested GROUP BY without the GROUP BY.

                  如果您好奇,我不喜歡這種擴展功能.我不認為它實際上解決了問題.

                  And if you are curious, I'm not a fan of this extended functionality. I don't see that it actually solves a problem.

                  這篇關于嵌套聚合函數的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  SQL query to get all products, categories and meta data woocommerce/wordpress(獲取所有產品、類別和元數據的 SQL 查詢 woocommerce/wordpress)
                  Can I figure out a list of databases and the space used by SQL Server instances without writing SQL queries?(我可以在不編寫 SQL 查詢的情況下找出數據庫列表和 SQL Server 實例使用的空間嗎?) - IT屋-程序員軟件開發
                  How to create a login to a SQL Server instance?(如何創建對 SQL Server 實例的登錄?)
                  How to know the version and edition of SQL Server through registry search(如何通過注冊表搜索知道SQL Server的版本和版本)
                  Why do I get a quot;data type conversion errorquot; with ExecuteNonQuery()?(為什么會出現“數據類型轉換錯誤?使用 ExecuteNonQuery()?)
                  How to show an image from a DataGridView to a PictureBox?(如何將 DataGridView 中的圖像顯示到 PictureBox?)

                      <tbody id='tDfvT'></tbody>

                        • <small id='tDfvT'></small><noframes id='tDfvT'>

                            <bdo id='tDfvT'></bdo><ul id='tDfvT'></ul>

                            <tfoot id='tDfvT'></tfoot>

                            <i id='tDfvT'><tr id='tDfvT'><dt id='tDfvT'><q id='tDfvT'><span id='tDfvT'><b id='tDfvT'><form id='tDfvT'><ins id='tDfvT'></ins><ul id='tDfvT'></ul><sub id='tDfvT'></sub></form><legend id='tDfvT'></legend><bdo id='tDfvT'><pre id='tDfvT'><center id='tDfvT'></center></pre></bdo></b><th id='tDfvT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tDfvT'><tfoot id='tDfvT'></tfoot><dl id='tDfvT'><fieldset id='tDfvT'></fieldset></dl></div>
                            <legend id='tDfvT'><style id='tDfvT'><dir id='tDfvT'><q id='tDfvT'></q></dir></style></legend>
                            主站蜘蛛池模板: 伊人一区 | 国产一区在线播放 | 日本三级在线视频 | 四虎影院在线免费观看 | 四虎网站 | 精品一区在线播放 | 国产伦精品 | 日韩欧美影院 | 日本三级在线视频 | 欧美精品成人 | 91av在线看| 国产三级做爰高清在线 | 日本香蕉视频 | 成人羞羞国产免费动态 | 日韩av不卡在线观看 | 黄色国产网站 | 欧美国产一区二区 | 97免费在线视频 | 国产三区四区 | 中文字幕在线观看一区二区 | 中文字幕在线观看网址 | 久久视频在线免费观看 | 毛片av在线 | 在线看片a | 一区二区三区四区精品 | 久久久夜色精品 | 国产福利91精品一区二区三区 | 九九热精品在线 | 中文字幕在线观看免费 | av资源在线 | 日韩精品一二三 | 免费毛片观看 | 天天综合av| 日本在线视频一区 | 成人毛片在线观看 | 黄色大片免费在线观看 | 欧美成人精品欧美一级乱黄 | 夜夜操夜夜爽 | 精品日韩一区二区三区 | 黄色大片在线免费观看 | 午夜精品久久久久久久久久蜜桃 |