<bdo id='yX4tC'></bdo><ul id='yX4tC'></ul>
    1. <small id='yX4tC'></small><noframes id='yX4tC'>

      <tfoot id='yX4tC'></tfoot>
      <i id='yX4tC'><tr id='yX4tC'><dt id='yX4tC'><q id='yX4tC'><span id='yX4tC'><b id='yX4tC'><form id='yX4tC'><ins id='yX4tC'></ins><ul id='yX4tC'></ul><sub id='yX4tC'></sub></form><legend id='yX4tC'></legend><bdo id='yX4tC'><pre id='yX4tC'><center id='yX4tC'></center></pre></bdo></b><th id='yX4tC'></th></span></q></dt></tr></i><div id='yX4tC'><tfoot id='yX4tC'></tfoot><dl id='yX4tC'><fieldset id='yX4tC'></fieldset></dl></div>
      <legend id='yX4tC'><style id='yX4tC'><dir id='yX4tC'><q id='yX4tC'></q></dir></style></legend>

      1. 如何选择最底部的行?

        How to select bottom most rows?(如何选择最底部的行?)
          • <bdo id='TLJcu'></bdo><ul id='TLJcu'></ul>
            <i id='TLJcu'><tr id='TLJcu'><dt id='TLJcu'><q id='TLJcu'><span id='TLJcu'><b id='TLJcu'><form id='TLJcu'><ins id='TLJcu'></ins><ul id='TLJcu'></ul><sub id='TLJcu'></sub></form><legend id='TLJcu'></legend><bdo id='TLJcu'><pre id='TLJcu'><center id='TLJcu'></center></pre></bdo></b><th id='TLJcu'></th></span></q></dt></tr></i><div id='TLJcu'><tfoot id='TLJcu'></tfoot><dl id='TLJcu'><fieldset id='TLJcu'></fieldset></dl></div>
            <legend id='TLJcu'><style id='TLJcu'><dir id='TLJcu'><q id='TLJcu'></q></dir></style></legend>

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

                <tfoot id='TLJcu'></tfoot>
                    <tbody id='TLJcu'></tbody>
                  本文介绍了如何选择最底部的行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我可以做 SELECT TOP (200) ...但为什么不做 BOTTOM (200)?

                  I can do SELECT TOP (200) ... but why not BOTTOM (200)?

                  不要进入哲学,我的意思是,我怎么能做相当于 TOP (200) 的事情,但反过来(从底部开始,就像你期望 BOTTOM 做的那样......)?

                  Well not to get into philosophy what I mean is, how can I do the equivalent of TOP (200) but in reverse (from the bottom, like you'd expect BOTTOM to do...)?

                  推荐答案

                  SELECT
                      columns
                  FROM
                  (
                       SELECT TOP 200
                            columns
                       FROM
                            My_Table
                       ORDER BY
                            a_column DESC
                  ) SQ
                  ORDER BY
                       a_column ASC
                  

                  这篇关于如何选择最底部的行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Building a comma separated list?(建立一个逗号分隔的列表?)
                  Errors in SQL Server while importing CSV file despite varchar(MAX) being used for each column(尽管每列都使用了 varchar(MAX),但在导入 CSV 文件时 SQL Server 中出现错误)
                  How can I import an Excel file into SQL Server?(如何将 Excel 文件导入 SQL Server?)
                  Export table to file with column headers (column names) using the bcp utility and SQL Server 2008(使用 bcp 实用程序和 SQL Server 2008 将表导出到带有列标题(列名称)的文件)
                  Concat field value to string in SQL Server(将字段值连接到 SQL Server 中的字符串)
                  SQL Server Bulk insert of CSV file with inconsistent quotes(SQL Server 批量插入带有不一致引号的 CSV 文件)

                • <legend id='tr0Ae'><style id='tr0Ae'><dir id='tr0Ae'><q id='tr0Ae'></q></dir></style></legend>
                    <bdo id='tr0Ae'></bdo><ul id='tr0Ae'></ul>

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

                      <tbody id='tr0Ae'></tbody>
                    1. <tfoot id='tr0Ae'></tfoot>
                          • <i id='tr0Ae'><tr id='tr0Ae'><dt id='tr0Ae'><q id='tr0Ae'><span id='tr0Ae'><b id='tr0Ae'><form id='tr0Ae'><ins id='tr0Ae'></ins><ul id='tr0Ae'></ul><sub id='tr0Ae'></sub></form><legend id='tr0Ae'></legend><bdo id='tr0Ae'><pre id='tr0Ae'><center id='tr0Ae'></center></pre></bdo></b><th id='tr0Ae'></th></span></q></dt></tr></i><div id='tr0Ae'><tfoot id='tr0Ae'></tfoot><dl id='tr0Ae'><fieldset id='tr0Ae'></fieldset></dl></div>