Book description
The topic of using views to answer queries has been popular for a few decades now, as it cuts across domains such as query optimization, information integration, data warehousing, website design and, recently, database-as-a-service and data placement in cloud systems.
This book assembles foundational work on answering queries using views in a self-contained manner, with an effort to choose material that constitutes the backbone of the research. It presents efficient algorithms and covers the following problems: query containment; rewriting queries using views in various logical languages; equivalent rewritings and maximally contained rewritings; and computing certain answers in the data-integration and data-exchange settings. Query languages that are considered are fragments of SQL, in particular select-project-join queries, also called conjunctive queries (with or without arithmetic comparisons or negation), and aggregate SQL queries.
This second edition includes two new chapters that refer to tree-like data and respective query languages. Chapter 8 presents the data model for XML documents and the XPath query language, and Chapter 9 provides a theoretical presentation of tree-like data model and query language where the tuples of a relation share a tree-structured schema for that relation and the query language is a dialect of SQL with evaluation techniques appropriately modified to fit the richer schema.
Table of contents
- Preface to the First Edition
- Preface to the Second Edition
- Acknowledgments
- Queries and Views
- Query Containment and Equivalence
- Finding Equivalent Rewritings
- Maximally Contained Rewritings (MCRs)
- Answering Queries in Presence of Dependencies
- Answering Queries in Data Exchange
- Answering Queries Using Views
-
XPath Queries and Views
- XML Databases and XPath Queries
- XPath Queries vs. Conjunctive Queries
- XPath Query Containment and Equivalence
- Definition of Extended Embedding between Patterns
- Containment Test for XP{//,[ ]} and XP{[ ],*}
- Extended Embedding is Not Enough to Prove Containment
- Canonical Models
- Containment for General Case
- Containment and Equivalence of Union of XPath Queries
- Rewritings
- Conclusion and Bibliographical Notes
- Exercises
- Tree-Structured Records Queried with SQL Dialect
- Bibliographical Notes for Chapters 1–7
- Conclusion for Chapters 1–7
- Bibliography (1/4)
- Bibliography (2/4)
- Bibliography (3/4)
- Bibliography (4/4)
- Authors' Biographies
- Blank Page (1/4)
- Blank Page (2/4)
- Blank Page (3/4)
- Blank Page (4/4)
Product information
- Title: Answering Queries Using Views, 2nd Edition
- Author(s):
- Release date: April 2019
- Publisher(s): Morgan & Claypool Publishers
- ISBN: 9781681734637
You might also like
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Python for Data Analysis, 2nd Edition
Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, …
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition
Through a series of recent breakthroughs, deep learning has boosted the entire field of machine learning. …