久久久久久久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>
                            主站蜘蛛池模板: 欧美日韩在线观看一区 | 精品视频一区二区三区 | 亚洲视频免费观看 | 久久久久久av | 波多野结衣精品在线 | 亚洲成人免费电影 | 国产福利在线视频 | 亚洲伊人精品酒店 | 欧美成人h版在线观看 | 日本特黄a级高清免费大片 特黄色一级毛片 | 一区影视| 国产一区在线免费 | 日日操操 | 91精品国产91久久久久久三级 | 国产精品一区二区福利视频 | 美女视频黄色的 | japanhd美女动| 成人在线播放 | 在线观看欧美日韩视频 | 黄瓜av| 91精品国产日韩91久久久久久 | 日本亚洲一区二区 | 亚洲高清一区二区三区 | 精品视频一区二区 | 51ⅴ精品国产91久久久久久 | 精品一区二区久久 | 成人在线精品视频 | 国产在线一区二区三区 | 色婷婷av一区二区三区软件 | 午夜久久久久 | 久久一区二区视频 | 亚洲精品91| 99久久国产 | 欧美中文字幕 | 亚洲最大福利网 | 国产精品精品久久久 | 国产精品久久久久久久久久 | 成人久久久 | 日韩精品一区二区三区免费观看 | av一级一片| 中文字幕在线人 |