SQL and Relational Theory

SQL and Relational Theory : How to Write Accurate SQL Code

3.77 (124 ratings by Goodreads)
By (author) 

List price: US$39.98

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Understanding SQL's underlying theory is the best way to guarantee that your SQL code is correct and your database schema is robust and maintainable. On the other hand, if you're not well versed in the theory, you can fall into several traps. In "SQL and Relational Theory", author Chris Date demonstrates how you can apply relational theory directly to your use of SQL.With numerous examples and clear explanations of the reasoning behind them, you'll learn how to deal with common SQL dilemmas, such as: should database access be through views instead of base tables? Nulls in your database are causing you to get wrong answers. Why? What can you do about it? Could you write an SQL query to find employees who have never been in the same department for more than six months at a time? SQL supports 'quantified comparisons', but they're better avoided. Why? How do you avoid them? Constraints are crucially important, but most SQL products don't support them properly. What can you do to resolve this situation?Database theory and practice have evolved since Edgar Codd originally defined the relational model back in 1969.
Independent of any SQL products, "SQL and Relational Theory" draws on decades of research to present the most up-to-date treatment of the material available anywhere. Anyone with a modest to advanced background in SQL will benefit from the many insights in this book.
show more

Product details

  • Paperback | 404 pages
  • 177.8 x 228.6 x 27.94mm | 680.39g
  • O'Reilly Media, Inc, USA
  • Sebastopol, United States
  • English
  • 0596523068
  • 9780596523060
  • 674,986

About C. J. Date

C.J. Date has a stature that is unique within the database industry. C.J. is a prolific writer, and is well-known for his best-selling textbook: An Introduction to Database Systems (Addison Wesley). C.J. is an exceptionally clear-thinking writer who can lay out principles and theory in a way easily understood by his audience.
show more

Review quote

"[...]ein Buch über "Relational Theory for Practitioners" und bringt damit alle Voraussetzungen mit, um sich einem breite(re)n Publikums zu erschliessen. Doch darf man jetzt nicht erwarten, leichte Kost vorgesetzt zu bekommen. Date geht sehr stark ins Details. Dies geschieht jedoch mit derartiger Präzision in der Ausdrucksweise und bestechender Klarheit in der Argumentation, so dass es dem Leser ohne grössere Schwierigkeiten möglich ist, den Gedankengängen zu folgen und sie auch zu verstehen, ohne zwingenderweise über den theoretischen Hintergrund verfügen zu müssen." - insidesql.org, September 2009
Lesen Sie die ausführliche Rezension unter: http://www.insidesql.org/buecher/theorie-und-grundlagen/sql-and-relational-theory-how-to-write-accurate-sql-code

"Genau das soll der neue Band ebenfalls leisten: denjenigen, die sich mit Datenbankarbeit beschäftigen, theoretisches Wissen vermitteln. Vor allem deshalb, weil ohne die relationale Basis kein tiefes Verständnis für SQL entstehen kann. Wer's gründlich will, ist hier richtig." - iX, August 2009
show more

Rating details

124 ratings
3.77 out of 5 stars
5 29% (36)
4 34% (42)
3 26% (32)
2 8% (10)
1 3% (4)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X