DocumentCode :
46187
Title :
Translating Relational Queries into Spreadsheets
Author :
Sroka, Jacek ; Panasiuk, Adrian ; Stencel, Krzysztof ; Tyszkiewicz, Jerzy
Author_Institution :
Inst. of Inf., Univ. of Warsaw, Warsaw, Poland
Volume :
27
Issue :
8
fYear :
2015
fDate :
Aug. 1 2015
Firstpage :
2291
Lastpage :
2303
Abstract :
Spreadsheets are among the most commonly used applications for data management and analysis. They combine data processing with very diverse supplementary features: statistics, visualization, reporting, linear programming solvers, Web queries periodically downloading data from external sources, etc. However, the spreadsheet paradigm of computation still lacks sufficient analysis. In this article, we demonstrate that a spreadsheet can implement all data transformations definable in SQL, merely by utilizing spreadsheet formulas. We provide a query compiler, which translates any given SQL query into a worksheet of the same semantics, including NULL values. Thereby, database operations become available to the users who do not want to migrate to a database. They can define their queries using a high-level language and then get their execution plans in a plain vanilla spreadsheet. The functions available in spreadsheets impose limitations on the algorithms one can implement. In this paper, we offer O(n log2 n) sorting spreadsheet, using a non-constant number of rows, and, surprisingly, Depth-First-Search and Breadth-First-Search on graphs.
Keywords :
Internet; SQL; computational complexity; data analysis; program compilers; program interpreters; query languages; query processing; relational databases; spreadsheet programs; NULL values; O(n log2 n) sorting spreadsheet; SQL query; Web query; breadth-first-search; data analysis; data management; data processing; data reporting; data visualization; database operations; depth-first-search; high-level language; linear programming solvers; plain vanilla spreadsheet; query compiler; relational query translation; statistics; Algebra; Data visualization; Databases; High level languages; Semantics; Sorting; Standards; Relational databases; physical database design prototypes; query languages; spreadsheets;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/TKDE.2015.2397440
Filename :
7029106
Link To Document :
بازگشت