Translating Relational Queries into Iterative Programs by Johann C. FreytagTranslating Relational Queries into Iterative Programs by Johann C. Freytag

Translating Relational Queries into Iterative Programs

byJohann C. Freytag

Paperback | June 24, 1987

Pricing and Purchase Info

$104.43 online 
$116.95 list price save 10%
Earn 522 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


This book investigates the problem of translating relational queries into iterative programs using methods and techniques from the areas of functional programming and program transformation. The first part presents two algorithms which generate iterative programs from algebra-based query specifications. While the first algorithm is based on the transformation of recursive programs, the second uses functional expressions to generate the final iterative form. In the second part the same techniques generate efficient programs for the evaluation of aggregate functions in relational database systems. In several steps, programs which perform aggregation after sorting, are transformed into programs which perform aggregation while sorting. The third part then investigates the Lisp-dialect T as a possible implementation language for database systems. The book describes all transformations by transformation rules. The reader can expect a formal treatment of the proposed transformations which provide the basis for proving the correctness of the algorithms and, at the same time, give important insight into the techniques and methods developed for the transformation. Additionally, the high-level, detailed description of the algorithms immediately leads to their implementation and allows their extension to meet new requirements. Overall, the use of transformation rules and transformation methods introduces a new approach to query processing in relational database systems.
Title:Translating Relational Queries into Iterative ProgramsFormat:PaperbackDimensions:142 pages, 9.25 × 6.1 × 0 inPublished:June 24, 1987Publisher:Springer Berlin HeidelbergLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:3540180001

ISBN - 13:9783540180005

Look for similar items by category:


Table of Contents

Data models and rewriting systems.- A transformation system based on recursive programs.- Query transformation based on map expressions.- The transformation of aggregate functions.- The implementation of database systems in T.- Conclusion and future work.