CS 381: Database Programming
This course lays the foundation for tackling topics like distributed Database Architecture, Query, Transaction Management, and concurrency control. This course also covers parallel DBMS and database interoperability.
This course lays the foundation for tackling topics like distributed Database Architecture, Query, Transaction Management, and concurrency control. This course also covers parallel DBMS and database interoperability.
Ch 1.1 What is a Relational Database? - Elements, Design & Advantages
Database Relationships
Rules for Relational Databases
Primary and Foreign Keys
Cardinality of Relationships
Lesson Summary
Quiz 1.1
Introduction
What is a Database Application?
The Purpose of Database Applications
Working of Database Applications
Databases vs. Spreadsheets
Database Application Examples
Lesson Summary
Quiz 1.2
Introduction
Database Programs
Types of Database Programs
Relational Database Management System (RDMS)
Lesson Summary
Quiz 1.3
Introduction
Database Schemas
Designing a Schema
Map it Out
Lesson Summary
Quiz 1.4
Introduction
What is SQL?
What is Normalization?
What are the Rules for Normalization?
Normalization Types
Lesson Summary
Quiz 1.5
Introduction
Database Management System Design
Why Do We Go to This Length?
What Is Normalization?
Lesson Summary
Quiz 1.6
Introduction
First Normal Form
Examples of 1NF
Lesson Summary
Quiz 1.7
Introduction
Normalization
Transitive Dependence
3NF: Examples
Practical Concerns
Lesson Summary
Quiz 1.8
Introduction
Database Query
Example of a Query
Using Semicolons
Other Operations
Microsoft Access Example
Lesson Summary
Quiz 1.9
Introduction
The History of SQL, MySQL, DDL, and DML
What is DCL in SQL?
What is DDL in SQL?
What is DML in SQL?
DDL vs DML vs DCL
Other Types of SQL
Lesson Summary
Quiz 1.10
Introduction
DBMS & SQL
Basic SQL Commands
UPDATE, INSERT, and DELETE Statements
Lesson Summary
Quiz 1.11
Introduction
Installing MySQL on a Computer
Install the MySQL Server
Installing on the Microsoft Operating System
First Steps
Lesson Summary
Introduction
Microsoft SQL Server 2017 Express Edition - a basic understanding
Downloading the necessary software
Installing Microsoft SQL Server 2017 Express Edition
Selecting Installation Type
Selecting Licensing Terms
Selecting Installation Directory
Installation Starts
Testing the installation
Checking creation of new windows services
Installing SSMS (SQL Server Management Studio)
Lesson Summary
Ch 2.1 Database Table: Design & Conventions
The Database Table
Lesson Summary
Quiz 2.1
Introduction
DDL: Definition
Other Functions of DDL
Lesson Summary
Quiz 2.2
Introduction
Tweaking the Structure
Lesson Summary
Quiz 2.3
Introduction
Using SQL's Primary Keys
How Are They Used?
Lesson Summary
Quiz 2.4
Introduction
What is a Foreign Key?
Primary vs. Foreign Keys
Linking Tables
Example of a Foreign Key
Lesson Summary
Quiz 2.5
Introduction
The Need for Order
What is SQL?
What is a Schema in SQL?
Why are Schemas Important?
What Does Schema Design Look Like?
Lesson Summary
Quiz 2.6
Introduction
Naming Data Types in SQL
Lesson Summary
Quiz 2.7
Introduction
Different Types of Numbers
Others
Lesson Summary
Quiz 2.8
Introduction
Data Types for Numbers
NUMERIC and DECIMAL
How Are They Different from Other Data Types?
Lesson Summary
Quiz 2.9
Introduction
SQL Data Types
The Real & Float Data Types
The Double Data Type
Lesson Summary
Quiz 2.10
Introduction
What is BOOLEAN?
The Use of Boolean Logic
Lesson Summary
Quiz 2.11
Introduction
Knowing When in SQL
Why Use a Specific Data Type?
The TIME Data Type
The DATE Data Type
The TIMESTAMP Data Type
Lesson Summary
Quiz 2.12
Introduction
What's a BLOB?
MySQL
Lesson Summary
Quiz 2.13
Introduction
Constraining Data
Where Does the Constraint Go?
Types of Constraints
Lesson Summary
Quiz 2.14
Ch 3.1 Basic SQL Query Syntax
Query Concepts
What is Syntax?
What is a Relational Database?
What is Structural Query Language (SQL)?
SQL Clauses
SQL Statements
SQL Syntax Notes
SQL Commands and Syntax
Lesson Summary
Quiz 3.1
Introduction
Modify or transform raw data extracted from tables
Sorting
Selective display of records
Aggregate functions
Lesson Summary
Quiz 3.2
Introduction
How Do We Add Information to the Table?
Insert Multiple Records
SQL INSERT Examples
Lesson Summary
Quiz 3.3
Introduction
The SELECT SQL statement
Lesson Summary
Quiz 3.4
Introduction
Dealing With NULL Values
Examples
Lesson Summary
Quiz 3.5
Introduction
Manipulating a Database
Structured Query Language
SQL Statements
SQL Syntax
SQL Operators
Lesson Summary
Quiz 3.6
Introduction
ORDER BY Clause in SQL
Summary
Quiz 3.7
Introduction
What is SQL Used For?
SQL Functions
How to Use SQL?
SQL Function Examples
Lesson Summary
Quiz 3.8
Introduction
NVL-Land
Examples
Lesson Summary
Quiz 3.9
Introduction
The CASE statement
Examples
Lesson Summary
Quiz 3.10
Introduction
What is SQL?
Grouping Without an Order
Grouping With an Order
Lesson Summary
Quiz 3.11
Introduction
What Is the GROUP BY Clause in SQL?
Using the SQL AVG (Average) Function with GROUP BY
Using the SQL SUM function with GROUP BY
Using the SQL COUNT function with GROUP BY
Lesson Summary
Quiz 3.12
Introduction
Install MySQL
Test Data
Questions
Answer Key
Summary
Ch 4.1 Data Manipulation Language (DML): Definition & Example
What is Data Manipulation Language?
Contrasted with Programming Language
Uses of DML
Examples of DML
Lesson Summary
Quiz 4.1
Introduction
Data Manipulation Language
Lesson Summary
Quiz 4.2
Introduction
What is SQL?
Lesson Summary
Quiz 4.3
Introduction
SQL?
Lesson Summary
Quiz 4.4
Introduction
Transaction Control Language (TCL)
Conclusion
Quiz 4.5
Introduction
Truncating a String
The LEFT function
The RIGHT Function
The SUBSTR Function
Lesson Summary
Quiz 4.6
Introduction
SQL TRUNCATE
Difference between DELETE and TRUNCATE
Difference between DROP and TRUNCATE
SQL TRUNCATE in action
Lesson summary
Quiz 4.7
Lesson Overview and Knowledge Required
Test Data
Follow-Up Questions
Answer Key
Lesson Summary
Ch 5.1 SQL Complex Queries: Functionality & Examples
SQL Complex Queries
Inner Join
Outer Join
Right Outer Join
Full Outer Join (Rows That Don't Join)
Union
Stored Procedures
Lesson Summary
Quiz 5.1
Introduction
SQL Join
Join Example
Lesson Summary
Quiz 5.2
Introduction
A Common Join
Example
Lesson Summary
Quiz 5.3
Introduction
SQL and the Relational Database
Joins
Lesson Summary
Quiz 5.4
Introduction
Example
Lesson Summary
Quiz 5.5
Introduction
SQL Cross Join
Syntax & Examples
Practical Uses
Lesson Summary
Quiz 5.6
Introduction
Self-Join
Aliases
Other Examples
Lesson Summary
Quiz 5.7
Introduction
Why is Database Aliasing Needed?
How is the Aliasing Feature Used?
Additional Uses
Lesson Summary
Quiz 5.8
Introduction
Program Code
Follow-Up Questions
Answer Key
Ch 6.1 SQL Subqueries: Example & Definition
What Is A Subquery?
How to Write a Subquery in SQL with SELECT Statements
Nested SELECT or INNER SELECT Statements in SQL
SQL SELECT Statement Subquery Examples
Subquery Rules
Lesson Summary
Quiz 6.1
Introduction
What Is a Sub-Query?
Nested & Correlated Sub-Queries
Lesson Summary
Quiz 6.2
Introduction
What is a sub-query?
Using a sub-query within a SELECT statement
Lesson Summary
Quiz 6.3
Introduction
Using the EXISTS and NOT EXISTS Operators
EXISTS vs. IN Operator
Lesson Summary
Quiz 6.4
Lesson Overview & Knowledge Required
Program Code
Notes on the test data provided
Code Application
Follow-Up Questions
Answer Key
Sample Database Script
Ch 7.1 SQL Views: Definition & Example
What Is an SQL View?
SQL View Syntax
Example of an SQL View
Materialized Views - Storing Data
Lesson Summary
Quiz 7.1
Introduction
DROP View
The SQL View
IF EXISTS
Lesson Summary
Quiz 7.2
Introduction
What a Database Index Is
Spreadsheet v. Database Index
Full-Text Search Engine Comparison
Database Index Types
Categories of Database Indexes
Lesson Summary
Quiz 7.3
Introduction
What is SQL?
What is an Index?
Lesson Summary
Quiz 7.4
Introduction
What is an Index?
Considerations
Unique Index
Lesson Summary
Quiz 7.5
Introduction
What are Schema Objects in a Database?
Prerequisites
Questions
Answer Key
Lesson Summary
Ch 8.1 Referential Integrity & Constraints in Databases: Definition & Example
Referential Constraints
Referential Integrity
Lesson Summary
Quiz 8.1
Introduction
Temporary Tables
Uses for Temporary Tables
Lesson Summary
Quiz 8.2
Introduction
Simple Modifications to SQL Tables
Modifying & Removing Constraints
Lesson Summary
Quiz 8.3
Introduction
DROP Columns & Rows
Remove a Column
Some Examples
Delete a Row of Data
Lesson Summary
Quiz 8.4
Introduction
What Is a Constraint?
Effects of Adding a Constraint
Dropping a Constraint
Lesson Summary
Quiz 8.5
Introduction
SQL DROP TABLE
Database differences
Uses
Caveats
Lesson summary
Quiz 8.6
Introduction
Temp Tables
Dropping Tables
Lesson Summary
Quiz 8.7
Introduction
What is SQL?
What is a Database?
What is an Index?
What do the DROP Index and DROP Database Commands do in SQL?
Lesson Summary
Quiz 8.8
Lesson Overview & Knowledge Required
Program Code
Code Application
Follow-Up Questions
Answer Key
Ch 9.1 SET Operators in Database Management: Definition & Use
What is the SET Operator?
Example of SET Operators
Caveats
SET using UNION and UNION ALL
Lesson Summary
Quiz 9.1
Introduction
UNION vs. JOIN
What Does UNION Do?
What Does JOIN Do?
Lesson Summary
Quiz 9.2
Introduction
Simple Grouping Using GROUP BY
ROLLUP and CUBE
GROUPING Sets
Lesson Summary
Quiz 9.3
Introduction
What is a Subquery?
How Can We Use Subqueries to Manipulate Data?
A Subquery to Create a Table
Lesson Summary
Quiz 9.4
Introduction
Exploring the concept of multi-table inserts
Multi-table inserts across different SQL implementations
Other commonly supported mechanisms
Lesson Summary
Quiz 9.5
Introduction
Making Decisions Based On Information
PIVOT and UNPIVOT
PIVOT and UNPIVOT in Action
Lesson Summary
Quiz 9.6
Introduction
Basic Understanding About Sets and How They Are Implemented in Databases
Prerequisites
Test Data
Sets and using set operators to manipulate data:Questions
Answer Key
Sample Database Script
Lesson Summary
Ch 10.1 Regular Expressions: Definition & Example
What Is A Regular Expression?
Complex Examples
Lesson Summary
Quiz 10.1
Introduction
Regular Expressions and MySQL
Examples on the usage of regular expressions in MySQL
Lesson Summary
Quiz 10.2
Introduction
Regular Expression Definition
Using Regular Expressions
Case Sensitivity
Matching Number Patterns
Complex Matching
Lesson Summary
Quiz 10.3
Introduction
Lesson Overview & Knowledge Required
Program Code
Ch 11.1 Database Administration and Security: Definition and Purpose
Database Administration
Security Threats
Database Security
Lesson Summary
Quiz 11.1
Introduction
What Is Database Security Management?
Threats to Database Security
Forms
Lesson Summary
Quiz 11.2
Introduction
Database Security
Controlling Access Permissions
Roles
Stored Procedures
Lesson Summary
Quiz 11.3
Introduction
SQL Injection
Prevention of SQL Injection
Lesson Summary
Quiz 11.4
Introduction
Cascading Permissions
Database Inference
Statistical Databases
Lesson Summary
Quiz 11.5
Introduction
Advanced Database Security
Query Restrictions
Database Partition
Data Perturbation
Lesson Summary
Quiz 11.6
Introduction
Database Encryption
Methods of Database Encryption
Database Encryption and Security
Lesson Summary
Quiz 11.7
Introduction
Database Security
Database Auditing
Database Forensics
Database Integrity
Database Imaging
Transaction Logs
Activity Reconstruction
Authentication and Authorization Data
Artifact Analysis
Lesson Summary
Quiz 11.8
Assignment
Final Exam
General Questions
With UPI, you determine your own level of time commitment. You can move through coursework quickly or slow down your pace.
YES, there are exams—held online on our platform and are proctored. Your course grade distribution is:
Content Questions
To ensure your UPI Study courses transfer to your university, check two things:
1) Is your university listed? If it's one of the 1,500 universities listed with NCCRS, you're all set.
OR
2) Check your university's credit policy. If it says they accept credits from "regionally accredited" universities, you're good to go! As long as you meet one of these criteria, your courses should transfer without a hitch.
Check the list of colleges here.
Membership Questions
Yes, that is what differentiates UPI. With each student their advisor will guide them on how to move forward.