Professional Documents
Culture Documents
Introduction To Something
Introduction To Something
Introduction To Something
Sheikh Munawar
Course Materials
Home
Course materials are specified corresponding to the videos, in order by topic. For each video,
Video Lectures
you can download the slides in Powerpoint ( ) or in PDF ( ), and we also provide any files
Assignments used in SQL or XML demonstrations ( ).
Exams If you're following along with a textbook (and we encourage it!), we include a mapping from the
video topics to sections in four of the most commonly used database textbooks:
Q&A Forum
A First Course in Database Systems (3rd edition) by Ullman and Widom (U/W)
(same material and sections as Database Systems: The Complete Book (2nd edition)
Course Materials
by Garcia-Molina, Ullman, and Widom)
Database Management Systems (3rd edition) by Ramakrishnan and Gehrke (R/G)
Software Quick Guides
Fundamentals of Database Systems (6th edition) by Elmasri and Navathe (E/N)
FAQ Database System Concepts (6th edition) by Silberschatz, Korth, and Sudarshan (S/K/S)
Optional Exercises
Relational Databases
Other Readings
SQL For Web Nerds (dated, but still a good read)
XML Data
See our quick guide to XML validation and querying for the tools used in these demos.
Well-formed XML
U/W R/G E/N S/K/S
11.2 7.4.1 12.2 23.1 - 23.2
XML Schema
U/W R/G E/N S/K/S
11.4 --- 12.3.2 23.3.2
www.db-class.org/course/resources/index 1/6
17/04/2012 Introduction to Databases
Other Readings
There are online introductions to XML, DTDs, and XML Schema at W3Schools, and XML and DTD
tutorials at Zvon.org. The W3C has the complete specifications for XML/DTDs and XSDs.
JSON Data
The JSON demo uses the Eclipse IDE with JSON Editor plugin, as well as the JSONView add-on for Firefox
and Chrome browsers.
JSON demo
U/W R/G E/N S/K/S
--- --- --- ---
Other Readings
There is a Get Started With JSON introduction at Webmonkey, and a JSON Tutorial at W3Schools.
json.org hosts many JSON-related pages. json-schema.org hosts a complete specification and
other information about JSON Schema.
Relational Algebra
SQL
All SQL scripts use the same schema and data , and work in SQLite, MySQL, and
Postgres except as noted. See our quick guide to SQL for installing and using these systems. All SQL
demos use the Database Master interface.
Introduction to SQL
U/W R/G E/N S/K/S
--- --- --- ---
www.db-class.org/course/resources/index
Subequeries in FROM and SELECT 2/6
17/04/2012 Introduction to Databases
Subequeries in FROM and SELECT
U/W R/G E/N S/K/S
6.3 5.4 5.1.2 - 5.1.6 3.8
Aggregation
U/W R/G E/N S/K/S
6.4.3 - 6.4.7 5.5 5.1.7 - 5.1.8 3.7
NULL values
U/W R/G E/N S/K/S
6.1.6-7, 6.4.6 5.6 5.1.1 - 5.1.8 3.7
Other Readings
In addition to the textbook material, there are many entire books specifically about getting started
with SQL; try searching for SQL in Amazon for a representative selection.
Functional Dependencies
U/W R/G E/N S/K/S
3.1 - 3.2 19.1 - 19.3 15.2 8.3
Shortcomings of BCNF/4NF
U/W R/G E/N S/K/S
3.4 --- --- 8.8.4
Querying XML
See our quick guide to XML validation and querying for the tools used in these demos.
XPath
U/W R/G E/N S/K/S
12.1 27.7.1 12.5.1 23.4.1 - 23.4.2
www.db-class.org/course/resources/index 3/6
17/04/2012 Introduction to Databases
XQuery
U/W R/G E/N S/K/S
12.2 27.7.2 - 27.7.4 12.5.2 23.4.3
XSLT
U/W R/G E/N S/K/S
12.3 --- --- ---
Other Readings
There are online introductions to XPath, XQuery, and XSLT at W3Schools, and XPath and XSLT
tutorials at Zvon.org. The W3C has the complete specifications for XPath , XQuery , and XSLT.
UML To Relations
U/W R/G E/N S/K/S
4.8 --- --- ---
Other Readings
An additional resource for the data-modeling subset of UML is Database design with UML and
SQLby Tom Jewett. Material corresponding to what we cover in our "UML data modeling" video is
found in the initial portions of the following sections: models, classes, associations, many-to-many
associations (both pages 1 and 2), subclasses, and aggregation and composition
Referential integrity
U/W R/G E/N S/K/S
7.1.1 - 7.1.2 3.2.2 3.2.4 4.4.5
Triggers Introduction
U/W R/G E/N S/K/S
7.5 5.8 - 5.9 26.1.1 5.3
Indexes
www.db-class.org/course/resources/index 4/6
17/04/2012 Introduction to Databases
Indexes
U/W R/G E/N S/K/S
8.3 - 8.4 8.3-5, 20.2-6 18, 20.2 11
Views
See the first SQL section above for information and links applicable to all of our SQL demos.
Materialized views
U/W R/G E/N S/K/S
8.5 25.9 5.3.3 4.2.3
Transactions
Introduction to transactions
U/W R/G E/N S/K/S
--- --- 21.1 ---
Transaction properties
U/W R/G E/N S/K/S
6.6.1 - 6.6.3 16.1 - 16.3 21.2 - 21.3 14.1 - 14.7
Isolation levels
U/W R/G E/N S/K/S
6.6.4 - 6.6.6 16.6 21.6 14.8
Authorization
Authorization
U/W R/G E/N S/K/S
10.1 21.1 - 21.3 24.2 4.6
Recursion in SQL
See the first SQL section above for information and links applicable to all of our SQL demos.
www.db-class.org/course/resources/index 5/6
17/04/2012 Introduction to Databases
The OLAP demo schema and data files can be found here and here .
Introduction to OLAP
U/W R/G E/N S/K/S
10.6 - 10.7 25.1 - 25.3 29.1 - 29.3 5.6
OLAP demo
U/W R/G E/N S/K/S
--- --- --- ---
NoSQL Systems
Motivation
U/W R/G E/N S/K/S
--- --- --- ---
Overview
U/W R/G E/N S/K/S
--- --- --- ---
www.db-class.org/course/resources/index 6/6