Book description
Views are virtual tables. That means they should be updatable, just as "real" or base tables are. In fact, view updatability isn’t just desirable, it’s crucial, for practical reasons as well as theoretical ones. But view updating has always been a controversial topic. Ever since the relational model first appeared, there has been widespread skepticism as to whether (in general) view updating is even possible.
In stark contrast to this conventional wisdom, this book shows how views, just like base tables, can always be updated (so long as the updates don’t violate any integrity constraints). More generally, it shows how updating always ought to work, regardless of whether the target is a base table or a view. The proposed scheme is 100% consistent with the relational model, but rather different from the way updating works in SQL products today.
This book can:
- Help database products improve in the future
- Help with a "roll your own" implementation, absent such product improvements
- Make you aware of the crucial role of predicates and constraints
- Show you how relational products are really supposed to behave
Anyone with a professional interest in the relational model, relational technology, or database systems in general can benefit from this book.
Publisher resources
Table of contents
- Dedication
- preface
- About the Author
- Preface
- Foreword
- 1. A Motivating Example
- 2. The Technical Context
- 3. The View Concept: A Closer Look
- 4. Restriction Views
- 5. Projection Views
- 6. Join Views I: One to One Joins
- 7. Join Views II: Many to Many Joins
- 8. Join Views III: One to Many Joins
- 9. Intersection Views
- 10. Union Views
- 11. Difference Views
- 12. Group and Ungroup Views
- 13. Extension and Summarization Views
- 14. Updating through Expressions
- 15. Ambiguity Revisited
- A. Some Remarks on Relational Assignment
- B. Relational Operators
- Index
- About the Author
- Copyright
Product information
- Title: View Updating and Relational Theory
- Author(s):
- Release date: December 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449357849
You might also like
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
article
Splitting Strings on Any of Multiple Delimiters
Build your knowledge of Python with this Shortcuts collection. Focusing on common problems involving text manipulation, …
article
Run Llama-2 Models
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …