将WHERE和ORDER BY作为电子表格公式执行
Implementing WHERE and ORDER BY as spreadsheet formulas
摘要:
SQL SELECT语句的WHERE和ORDER BY子句选择数据库查询结果中的行的子集,并按指定的顺序显示结果。在像Microsoft Excel这样的电子表格程序中,可以使用筛选和排序按钮,或者使用其查询或数据透视表工具来实现类似的效果。使用这些工具的缺点是它们不能自动对电子表格的计算值的变化做出反应。在本文中,我们开发了实现SQL的WHERE和ORDER BY子句的电子表格公式。
英文摘要:
The WHERE and ORDER BY clauses of the SQL SELECT statement select a subset of rows in the result of a database query and present the result in the specified order. In a spreadsheet program like Microsoft Excel, one could use the filter and sort buttons, or use its Query or its Pivot Table tools to achieve a similar effect. The disadvantage of using those tools is that they don't react automatically to changes in the calculated values of the spreadsheet. In this paper, we develop spreadsheet formulas that implement SQL's WHERE and ORDER BY clauses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。