SQL and Relational Theory

SQL and Relational Theory How to Write Accurate SQL Code

Third edition

Paperback (13 Nov 2015)

Save $1.72

  • RRP $41.04
  • $39.32
Add to basket

Includes delivery to the United States

10+ copies available online - Usually dispatched within two working days

Publisher's Synopsis

SQL is full of difficulties and traps for the unwary. You can avoid them if you understand relational theory, but only if you know how to put that theory into practice. In this book, Chris Date explains relational theory in depth, and demonstrates through numerous examples and exercises how you can apply it to your use of SQL.

This third edition has been revised, extended, and improved throughout. Topics whose treatment has been expanded include data types and domains, table comparisons, image relations, aggregate operators and summarization, view updating, and subqueries. A special feature of this edition is a new appendix on NoSQL and relational theory.

  • Could you write an SQL query to find employees who have worked at least once in every programming department in the company? And be sure it's correct?
  • Why is proper column naming so important?
  • Nulls in the database cause wrong answers. Why? What you can do about it?
  • How can image relations help you formulate complex SQL queries?
  • SQL supports "quantified comparisons," but they're better avoided. Why? And how?

Database theory and practice have evolved considerably since Codd first defined the relational model, back in 1969. This book draws on decades of experience to present the most up to date treatment of the material available anywhere. Anyone with a modest to advanced background in SQL can benefit from the insights it contains. The book is product independent.

Book information

ISBN: 9781491941171
Publisher: O'Reilly Media
Imprint: O'Reilly
Pub date:
Edition: Third edition
DEWEY: 005.756
DEWEY edition: 23
Language: English
Number of pages: xvii, 563
Weight: 1016g
Height: 180mm
Width: 235mm
Spine width: 35mm