<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                * [ ] 功能 * 獲取平均值 * 參數 | 參數名 | 參數類型 | 參數說明 | 默認值 | | :---: | :---: | :---: | :---: | | $field | string | 統計的字段名 | 空字符 | | $mode | string | 查詢模式,返回執行結果,或返回 查詢 sql 語句 | 空字符,當設置為 demo ,返回 sql 語句 | | $type | string | 數據庫類型 | 空字符 | | $come | string | 執行模式 | 空字符 | * 場景:user 數據庫的 user_account 表有 3 條數據,數據為: user_account 表 | uid | username | | :---: | :---: | | 1 | 張三 | | 2 | 李四 | | 3 | 隔壁老王 | * 用法: ~~~ // 查詢條件 $where = array( 'uid[>]' => 1, ); // 需要統計的字段名稱 $field_name = 'uid'; $sum_num = mysql\User::table('account')->where( $where )->avg( $field_name ); ~~~ 執行的 sql 語句: ~~~ select?avg(uid)?as?count?from?user.user_account?where?uid?>?1 ~~~ 查詢結果: ~~~ '2.5000' ~~~
                  <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>

                              哎呀哎呀视频在线观看