久久久久久久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>
                            主站蜘蛛池模板: 雨宫琴音一区二区在线 | 91精品国产色综合久久 | 国产三级一区二区 | 亚洲精品视频在线播放 | 国产成人免费网站 | www.黄色片视频 | 国产精品完整版 | 另类 综合 日韩 欧美 亚洲 | av看片网站 | 伊人中文字幕 | 古装人性做爰av网站 | 国产精品久久久久久中文字 | a级在线观看 | 亚洲综合无码一区二区 | 欧美片网站免费 | 日韩精品免费播放 | 黄网在线观看 | 中文字幕高清免费日韩视频在线 | 免费一级欧美在线观看视频 | 欧美久久久电影 | 一区二区三区四区在线视频 | 欧美亚洲成人网 | 国产精品久久久久久久岛一牛影视 | 日本一区二区影视 | 久久久久久综合 | 九九热精品在线视频 | 91久久北条麻妃一区二区三区 | 亚洲人成人一区二区在线观看 | 91久久精品一区二区二区 | 国产精品国产成人国产三级 | 羞羞视频免费观看入口 | 超碰在线人 | 欧美二区三区 | 性色在线 | 中文亚洲视频 | 久久国产一区二区 | www.一区二区三区 | 欧美激情在线一区二区三区 | 91精品国产欧美一区二区 | 一级免费毛片 | 国产视频1|