Southern New Hampshire University

CS-231: Database Systems

A study guide to SNHU's CS-231, which introduces database design, normalization, SQL and data security for computing students.

Updated October 2026 · 5 min read

CS-231 at Southern New Hampshire University gives students an overview of application development using database management systems.

According to the course description, conceptual database design, data modeling and normalization are presented and practiced, and structured query language (SQL) is practiced using MySQL or a similar tool.

Relational databases are examined with an emphasis on those found in networked, client-server applications. Topics include the rationale for and history of databases, logical and physical data definition, using SQL and query by example (QBE), and data security and backup strategies.

Students who can already program often find the shift to thinking in sets and relations harder than expected. A loop that processes one record at a time becomes a single SQL statement, and a design decision made early (how tables relate) determines whether every later query is simple or painful.

Course at a Glance

ItemDetails
UniversitySouthern New Hampshire University (SNHU)
Course codeCS-231
LevelUndergraduate, computer science and IT
Tools namedSQL using MySQL or a similar tool; query by example
Typical workER diagrams, normalization exercises, SQL scripts, a database design project and short written explanations

What CS-231 Covers

TopicIn plain language
Rationale and history of databasesWhy shared, structured databases replaced separate files, and how models evolved to relational
Conceptual design and data modelingIdentifying entities, attributes and relationships, usually drawn as an ER diagram
NormalizationOrganizing tables to remove redundancy and update anomalies
Logical and physical data definitionTurning a model into tables, keys, data types and indexes
SQL and QBECreating, querying and changing data with code or visual query tools
Client-server databasesHow applications on a network connect to a central database
Security and backupUser privileges, protecting data and planning recovery

Key Concepts Explained

Normalization to Third Normal Form

First normal form removes repeating groups (one value per cell). Second normal form removes partial dependencies on part of a composite key. Third normal form removes transitive dependencies, where a non-key column depends on another non-key column.

Example: An Orders table holds OrderID, CustomerID, CustomerName, CustomerCity, ProductID, ProductName and Quantity. CustomerName and CustomerCity depend on CustomerID, not on the order, so they move to a Customers table. ProductName depends on ProductID, so it moves to Products. What remains is Orders (OrderID, CustomerID, OrderDate) and OrderLines (OrderID, ProductID, Quantity), linked by foreign keys. Now a customer's change of city is updated in one row, not hundreds.

Joins and Aggregation

Example: To list each customer's total quantity ordered:
SELECT c.CustomerName, SUM(ol.Quantity) AS TotalQty FROM Customers c JOIN Orders o ON o.CustomerID = c.CustomerID JOIN OrderLines ol ON ol.OrderID = o.OrderID GROUP BY c.CustomerName ORDER BY TotalQty DESC;
Every non-aggregated column in the SELECT list must appear in GROUP BY.

Security and Backup

The principle of least privilege gives each user or application only the permissions it needs (for example, SELECT but not DROP). A backup plan states what is backed up, how often, where copies are kept and how a restore is tested.

Logical Versus Physical Design

The logical design describes tables, columns, keys and relationships independent of any product. The physical design decides how that model is implemented in a specific DBMS: data types such as VARCHAR or DECIMAL, indexes to speed up frequent searches, storage options and constraints. Keeping the two stages separate helps you justify decisions.

For example, you might add an index on Orders.CustomerID because customer order lookups are frequent, while accepting that every index slightly slows inserts. Explaining a trade-off like this is often what separates a working database from a well-argued design project.

Typical Assignments and How to Approach Them

Assignment typeWhat it testsHow to approach it
ER diagramModeling entities, relationships and cardinalityList business rules in sentences first, then draw
Normalization exerciseSpotting dependenciesWrite out the functional dependencies before splitting tables
SQL scriptsDDL and DML accuracyTest each statement and include sample output
Design projectEnd-to-end design with justificationExplain choices of keys, data types, constraints and security

Where Students Get Stuck

Study Tips for CS-231

How We Help with CS-231

Send the assignment instructions, rubric, any starter schema or data, and your current SQL or diagrams. A writer with database experience can explain normalization and SQL step by step, debug your queries, prepare a worked model for a similar scenario, or review the written justification.

Work you submit must be your own under SNHU's academic integrity policy. GradeEssays is independent and not affiliated with SNHU.

Get Your CS-231 Database Work Right

Share your assignment, schema and code. A database writer prepares worked examples and explains each design decision.

Start My CS-231 Help

Free revisions · Full refund if late · Written from scratch for your order

Frequently Asked Questions

Which database does CS-231 use?

The SNHU description says SQL is practiced using MySQL or a similar tool. Your course shell will confirm the exact software.

What is QBE?

Query by example: building queries visually by filling in a grid or form rather than writing SQL by hand.

How far does CS-231 go with normalization?

Introductory database courses usually work to third normal form. Check your assignments for the level expected.

Why does CS-231 cover security and backup?

The course description lists data security and backup strategies as core topics, because protecting and recovering data is part of database work.

Can you fix my SQL errors?

Yes. Send the query, the schema and the error message, and we explain what went wrong and how to fix it.

Do I need programming experience for CS-231?

Some programming background helps, especially for the client-server material. Check your degree map for prerequisites.