pretty cs4250 logo
Logo courtesy Wordle.net

California State University Stanislaus

CS 4250: Database Management Systems

Fall 2024

10:00 - 10:50 am, M W F, B 203. Dr. Megan Thomas


[Syllabus ]        [Announcements]        [Calendar/Lecture Notes]        [Homeworks]        [Resources]        [Fun News]

Welcome to CS4250, an introduction to database management systems. Topics include:

Modeling, development, and implementation of database systems using storage structures, data definition languages, and data manipulation languages for the relational approach to database management. Database integrity and security problems. Historical development of database systems. (Academic Catalog description.)

Prerequisite: CS 3100.

Announcements and Upcoming Events

17 December 2024 "10 most in-demand enterprise IT skills" from CIO.com (10 Dec 2024). Notice that two of the "most in-demand skills" are closely tied to knowledge of DBMSs -- Oracle and Microsoft SQL Server.

"4 highest-paying technology jobs of 2024" from CIOdive.com (5 Dec 2024).

15 December 2024 The final exam will, mostly, re-use the sample schema from the midterm. Minor changes were made, and this small hint includes the changes.
2 December 2024 dragon.csustan.edu was down -- the web server was down, and that's how people reach PhPMyAdmin -- for a while today. As the timing on that is truly unfortunate for Part 5, I've extended the Part 5 deadline to Wednesday.

For any student group that makes the original deadline in spite of unplanned obstacles, I am likely to grant some extra credit.

14 November 2024 "Engineering the First Fitbit: The Inside Story. They had a billion-dollar idea - and a lot to learn about hardware.", IEEE Spectrum, September 2024. A good read if you want to be in a start-up or work with consumer devices someday. (May only be accessible from on campus, or on the campus VPN.)
5 November 2024 dragon.csustan.edu - tip for when you first log in: When you first log in to dragon.csustan.edu, which you will do as part of a future project part, you may be given the sh shell. To start the (easier to use) bash shell, just type 'bash' at the command line. (Just the 4 letters; don't type the quotation marks.)
23 October 2024 "Video Friday: Mobile Robot Upgrades", IEEE Spectrum, 18 Oct 2024. (You might need to be on campus to visit this link; the library pays for access to Spectrum material, for the campus.)
22 October 2024 "IT hiring roars back after monthslong slump", CIODive.com, 4 Oct 2024.
6 October 2024 Here is one small chunk of the midterm you will take on Wednesday during class time.
25 Sept 2024 For our in-class exercise work this week:

Schema:
Earthquake (qname, qdate, latitude, longitude, magnitude, fault)
Damage(cityID, qname, cost, liveslost)
Cities(cID, cname, latitude, longitude, population) [city names may not be unique]
Questions (in SQL, and relational algebra where possible):
  1. Find the names and dates of earthquakes whose magnitude was greater than 7.0.
  2. Find the average population of all the cities whose names start with "San".
  3. List the lives lost, quake names and city names for all quakes that occurred before 1960.
  4. List the city identifiers and total cost, per city, of all quakes with magnitude greater than 7.0.
  5. List the average magnitude of quakes for each fault (grouped by fault).
  6. List all earthquakes and, where applicable, also list city IDs and lives lost in that city for quakes that affected cities.
  7. List the names of cities whose populations are greater than the average city population.
16 Sept 2024 Sample tables for classroom exercises:
CREATE TABLE Books(title char(40), lastname CHAR(40), firstname CHAR(40), pubyear INTEGER, bookID INTEGER PRIMARY KEY)
CREATE TABLE AwardWinners (bookID INTEGER, year INTEGER, award CHAR(60), authorage INTEGER, PRIMARY KEY (bookID, award, year))
CREATE TABLE Awards (awardname char(60), primary key (awardname))
(Note that, to fit on a PPT slide, foreign key key declarations were left out)
21 August 2024 Welcome to CS 4250!

Homeworks

Project Overview

Points
Project Part 1 20
Project Part 2 25 + 6
Homework 1 30
Project Part 3 20
Homework 2 30
Project Part 4 10
Homework 3 30
Project Part 5 25
Project Part 6 12
Homework 4 35
Project Part 7 70

Books at the CSU Stanislaus Library

The Ramakrishnan and Garcia-Molina/Ullman/Widom textbooks are both available at the university library.

Campus Resources

DBMS Resources


Fun News Articles and Podcasts