查询
A "query" is a special view of a table. A query can display chosen records or chosen fields within records; it can also sort those records. A query can apply to one table or to multiple tables, if they are linked by common data fields.
查询的用途是根据确定的条件从数据表中查找记录。针对一个数据库创建的所有查询,将在查询条目下被列出。因为该条目包含数据库的查询,人们也把它称作“查询包”。
打印查询
要打印查询或表格:
-
请打开一个文本文档(或一个电子表格文档,如果您偏爱此种文档的特殊打印功能)。
-
打开数据库文件,如果要打印表格,请单击“表格”图标,如果要打印查询,请单击“查询”图标。
-
将表格或查询的名称拖到打开的文本文档或电子表格中。将打开对话框插入数据库列。
-
确定要包括哪些列(即数据字段)。也可单击自动套用格式按钮并选择相应的格式类型。关闭对话框。
查询或表格将被插入到文档中。
-
选择文件 - 打印打印文档。
You can also open the data source view (Ctrl+Shift+F4), select the entire database table in the data source view (click on the top left corner of the table), and then drag the selection to a text document or spreadsheet.
排序和筛选数据
允许对查询表格中的数据进行排序和筛选。
查询设计
在查询设计中,您可以创建和编辑查询或视图。
查询多个表格
如果多个表格通过合适的数据字段相互链接,查询结果可以包含这些表格的数据。
公式化查询条件
可以查看哪些运算符和命令可用于指定查询的筛选条件。
执行函数
您可以用一个表格的数据进行计算,并把结果保存为查询结果。