Chris Date is the world's best known relational advocate. In this online seminar, he shows howto write SQL code that's logically correct; how to avoid various SQL traps and pitfalls; and,more generally, how to use SQL as if it were a true relational language.
Appreciate how relational principles provide SQL's logical underpinnings.
Understand the breadth and depth of those principles.
Know how to formulate complex SQL code with confidence that it's correct.
Be able to use SQL relationally.
SQL is ubiquitous. But SQL is also complicated, difficult, and error prone -- much more so than SQL advocates would have you believe. There's a lot of bad practice in the way SQL is used, and testing SQL can never be exhaustive. If you have any hope of writing correct SQL, you must follow some discipline: the discipline of using SQL relationally.
It's a fact: SQL is the standard language for relational databases, but that doesn't make it relational! SQL departs from relational theory in all too many ways. Duplicate rows and nulls provide two obvious examples, but they're not the only ones. In this class, you'll learn relational theory, how SQL departs from the theory, and how to avoid the problems that can cause. By using the relational model as an organizing principle, and learning various features of the model in depth, you'll discover the best ways to implement SQL. And you'll enjoy the benefits of working with a truly relational system.
Exercises are an integral part of the class, and your discussion and interaction are encouraged. We are capturing these sessions on video and all students are required to sign a release form prior to the commencement of the class, a copy of which may be downloaded in advance. Hard copy forms will be provided at the event.
Table of Contents
- Setting the Scene Part 1 00:42:45
- Setting the Scene Part 2 00:36:23
- Types and domains Part 1 00:30:30
- Types and domains Part 2 00:17:29
- Types and domains Part 3 00:30:10
- Tuples and Relations, Rows and Tables Part 1 00:17:07
- Tuples and Relations, Rows and Tables Part 2 00:40:21
- No Duplicates, No Nulls Part 1 00:18:19
- No Duplicates, No Nulls Part 2 00:32:28
- Base Relvars, Base Tables Part 1 00:19:51
- Base Relvars, Base Tables Part 2 00:24:16
- Base Relvars, Base Tables Part 3 00:20:50
- SQL and Relational Algebra I: The Original Operators Part 1 1:00:27
- SQL and Relational Algebra I: The Original Operators Part 2 00:58:12
- SQL and Relational Algebra II: Additional Operators Part 1 00:29:27
- SQL and Relational Algebra II: Additional Operators Part 2 00:47:13
- SQL and Constraints Part 1 00:40:31
- SQL and Constraints Part 2 00:38:36
- SQL and Views Part 1 00:28:28
- SQL and Views Part 2 00:28:00
- SQL and logic I: Relational Calculus Part 1 00:44:49
- SQL and logic I: Relational Calculus Part 2 00:25:33
- SQL and logic I: Relational Calculus Part 3 00:26:07
- SQL and logic I: Relational Calculus Part 4 00:27:37
- SQL and Logic II: Using Logic to Write SQL Code Part 1 00:19:36
- SQL and Logic II: Using Logic to Write SQL Code Part 2 00:27:03
- Further SQL Topics 00:20:57
- The Relational Model 00:38:53
- A Relational Approach to Missing Information 00:32:22
- Database Design Theory Part 1 00:44:28
- Database Design Theory Part 2 00:24:04
- Title: C.J. Date's SQL and Relational Theory Master Class
- Release date: April 2010
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449389659