pretty cs4250 logo
Logo courtesy wordclouds.com

California State University Stanislaus

CS 4250: Database Management Systems

Spring 2026

3:00 - 3:50 pm, M W F, DBH 165. 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. 3 units. (Academic Catalog description.)

Prerequisite: CS 3100.

Announcements and Upcoming Events

6 March 2026 O.C. caught a syntax error in today's slides. The corrected information is "CREATE VIEW viewname [(viewcolname,viewcolname...)] AS..." (A ] has been removed.) For more information, see IBM's View Columns documentation for Informix.
4 March 2026 "Top 10 Highest-Paid Tech Jobs in 2026", 2026 Jan 21, TechRepublic.com
2 Mar 2026 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.
27 Feb 2026 One student wrote: "What is the max number of columns allowed in a table?" as their sample exam question.
This question will not be on the exam, because I suspect the answer is dependent on which DBMS software you are using. But it is a good question. For example, Microsoft's SQL Server has a limit of 1,024 columns per table (30,000 columns if the table is using "sparse column sets").
Here is Microsoft's "Maximum capacity specifications for SQL Server" page.
27 Feb 2026 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)
20 February 2026 More job market news:
"Employers Project Salary Increases for Most New Graduates", insidehighered.com, 19 Feb 2026
18 February 2026 "These are the fastest-growing skills companies are hiring for, according to new report", cnbc.com, February 9, 2026.
Top tech jobs 2026: 5 of the fastest-growing tech, AI careers", mashable.com, February 7, 2026.
30 January 2026 Per today's discussion: Tim Berners-Lee's Wikipedia page -- designed and build world's first web browser, website... started the whole WWW shebang.

Also, Google reports that the 2026 Winter Olympics start in Italy on February 6, 2026.

28 January 2026 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 15

Books at the CSU Stanislaus Library

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

DBMS Resources


Fun News Articles and Podcasts

Interesting Databases