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

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

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

        编写 SQL 查询以从下表中选择项目

        Writing an SQL query to SELECT item from the following table(编写 SQL 查询以从下表中选择项目)

          <tbody id='SrMTW'></tbody>

          <legend id='SrMTW'><style id='SrMTW'><dir id='SrMTW'><q id='SrMTW'></q></dir></style></legend>
          1. <small id='SrMTW'></small><noframes id='SrMTW'>

          2. <tfoot id='SrMTW'></tfoot>

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

                  <bdo id='SrMTW'></bdo><ul id='SrMTW'></ul>
                  本文介绍了编写 SQL 查询以从下表中选择项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我很难编写 SELECT 查询来获取下表中的数据...

                  I am having a really hard time writing a SELECT query to get a hold of the data in the following table...

                  这是一张桌子的图片...

                  Here is a picture of the table...

                  http://i44.tinypic.com/29dxx81.png

                  我正在尝试为所有数量大于 10 的项目部件显示部件名称 (pname)...但是,数量似乎只有在子菜单展开时才会出现,我在选择时遇到问题正在……

                  I am trying to display the names of the parts (pname) for all item parts that have a quantity larger than 10... However, the quantity seems to appear only when the submenu is expanded, and I am having trouble SELECT'ing it...

                  谢谢

                  推荐答案

                  您是否尝试过:

                  SELECT pname from [TableName] WHERE quantity >= 10
                  

                  SELECT pname from Parts 
                  INNER JOIN Shipments
                  ON Parts.ForeignKey = Shipments.ForeignKey
                  WHERE quantity >= 10
                  

                  这篇关于编写 SQL 查询以从下表中选择项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 文件)
                      <i id='UqCbu'><tr id='UqCbu'><dt id='UqCbu'><q id='UqCbu'><span id='UqCbu'><b id='UqCbu'><form id='UqCbu'><ins id='UqCbu'></ins><ul id='UqCbu'></ul><sub id='UqCbu'></sub></form><legend id='UqCbu'></legend><bdo id='UqCbu'><pre id='UqCbu'><center id='UqCbu'></center></pre></bdo></b><th id='UqCbu'></th></span></q></dt></tr></i><div id='UqCbu'><tfoot id='UqCbu'></tfoot><dl id='UqCbu'><fieldset id='UqCbu'></fieldset></dl></div>
                      • <tfoot id='UqCbu'></tfoot>
                          <bdo id='UqCbu'></bdo><ul id='UqCbu'></ul>
                              <tbody id='UqCbu'></tbody>

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

                            <legend id='UqCbu'><style id='UqCbu'><dir id='UqCbu'><q id='UqCbu'></q></dir></style></legend>