Home

DBS201 Course Outline

Course Code: DBS201
Course Name: Introduction to Database Design and SQL
Offered Date: Summer - 2019 | Other versions
Print Outline
Course Description:

This subject introduces students to relational database design and SQL (Structured Query Language) used with relational databases. Students will be introduced to  relational and object oriented models with a focus on the relational model and its operators. Students will be presented with a methodology for relational database design using Entity Relationship Diagrams and normalization of data. Students will be introduced to a subset of SQL using IBM's DB2 on the iSeries platform. An overview of the functions of the Database Management System (DBMS) and of a Database Administrator (DBA) will also be presented.

Credit Status: 1 credit (3 units)
Required for CPA - Computer Programming and Analysis (Ontario College Advanced Diploma)
Required for CPD - Computer Programmer (Ontario College Diploma)
Prerequisite: IPC144 or ULI101
Mode of Instruction: 3 hours interactive lecture per week.
1 hour lab time per week.
Learning Outcomes:
1. Use SQL to create and modify tables in DB2 databases

2. Work in groups on a project to design and create a DB2 database for an application requiring a minimum of 8-12 tables.

3. Merge normalized relations from each user view into a complete set of normalized relations for a simple business application

4. Prepare an Entity Relationship Diagram for a simple business application

5. Use SQL to retrieve data from DB2 databases

6. Prepare the physical relational database schema for a simple business application

7. Identify user views for an application

8. Normalize a user view to 3rd Normal Form

9. Be able to recover a previous database state using journaling commands

10. Describe the basic functions of a Database Management System

11. Describe the responsibilities of a Database Administrator in an organization
Employability Skills:
Execute mathematical operations accurately.|Apply a systematic approach to solve problems.|Use a variety of thinking skills to anticipate and solve problems.|Locate, select, organize, and document information using appropriate technology and information systems.|Analyze, evaluate, and apply relevant information from a variety of sources.|Show respect for diverse opinions, values, belief systems, and contributions of others.|Interact with others in groups or teams in ways that contribute to effective working relationships and the achievement of goals.|Manage the use of time and other resources to complete projects.|Take responsibility for one's own actions, decisions, and consequences.|
Topic Outline:

  • Overview of Databases - 2%
    •         Database Management System overview
    •         Database advantages and disadvantages
    •         Database Models : Hierarchical, Network, Relational, Object-oriented Relational, Object-oriented
  • Relational Model - 5%
    •         Terminology: File-based (file, record, field) versus data model (entity, attribute, relationship) versus relational model (relation, tuple, attribute) versus relational database (table, row, column)
    •         Relational Algebra Operators: Select, Project, Join
  • Database Design Methodology - 20%
    •         Information-Level (Logical) versus Physical-level Design
    •         Identification of User Views
    •         Logical Database Design: Entity Relationship Diagram, entity/relation, attribute, relationships, cardinality
    •         Physical Database Design: tables, primary keys, foreign keys
    •         Top-down versus Bottom-up Design: use of both approaches for correct, complete result
  • Detailed Logical Design - 20%
    •         Functional Dependence
    •         Primary Key
    •         First Normal Form (1NF)
    •         Second Normal Form (2NF)
    •         Third Normal Form (3NF)
    •         Relational Schema
    •         Update and Delete Data Anomalies
  • Structured Query Language(SQL) Overview - 25%
    •         Introduction to using DB2 on the AS/400
    •         Create a DB2 table and view using SQL CREATE statement
    •         Add data using SQL INSERT statement
    •         Query data in DB2 using simple SELECT statement
    •         Modify database structure using SQL ALTER statement
    •         Query DB2 data dictionary tables using SELECT statement
    •         Preserve database integrity using SQL's NOT NULL, CHECK,
    •         PRIMARY KEY and FOREIGN KEY constraints
    •         Enforce uniqueness by UNIQUE INDEX
  • Detailed Physical Database Design - 15%
    •         Identify views, indexes, security, integrity constraints, and additional constraints: uniqueness, mandatory/optional, default value, validation criteria
  • Database Management System Features - 10%
    •         Maintain data dictionary - 'metadata'
    •         Maintain application data
    •         Manage integrity constraints for application data
    •         Manage shared access to data
    •         Facilitate backup and recovery of database
    •         Provide security: passwords, views, encryption
    •         Facilitate data availability through replication of database
    •         Provide utilities for common tasks
  • Database Administrator Responsibilities - 3%
    •         Selection, installation and maintenance of DBMS
    •         Training
    •         Manage data dictionary tables
    •         Monitor and improve DBMS performance
    •         Manage end user access to DBMS
    •         Approve application database design
    •         Develop and administer database policies
Prescribed Text(s):

Database Design and Ansi SQL (1st ed)

by Jim Cooper (2017) (available only in Seneca College Bookstore)

Reference Material:
  • Mastering the AS/400, 3rd Ed., by Jerry Fottral, published by 29th Street Press, ISBN: 1-58304-070-6\
  • A Guide to SQL, 7th Edition by Pratt, published by Course Technology, Thompson Learning, ISBN 0-619-21674-3
Supply:
None
Promotion Policy:
To obtain a credit in this subject, a student must:
  •     Achieve a grade of 50% or better on the final exam
  •     Satisfactorily complete all assignments
  •     Achieve a weighted average of 50% or better for the tests and final exam
  •     Achieve a grade of 50% or better on the overall course


http://www.senecacollege.ca/about/policies/student-progression-and-promotion-policy.html

Grading Policy http://www.senecacollege.ca/about/policies/grading-policy.html

A+ 90%  to  100%
A 80%  to  89%
B+ 75%  to  79%
B 70%  to  74%
C+ 65%  to  69%
C 60%  to  64%
D+ 55%  to  59%
D 50%  to  54%
F 0%    to  49% (Not a Pass)
OR
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online (http://www.senecacollege.ca/about/policies/academics-and-student-services.html) or at Seneca's Registrar's Offices (http://www.senecacollege.ca/registrar/gpacalulator.html.


Evaluation:


Labs 15%
Group Project 15%
Tests (minimum of 2) 35%
Final Exam 35%
Approved By:
Mary-Lynn Manton
Cheating and Plagiarism:
Seneca upholds a learning community that values academic integrity, honesty, fairness, trust, respect, responsibility and courage. These values enhance Seneca's commitment to deliver high-quality education and teaching excellence, while supporting a positive learning environment. Ensure that you are aware of Seneca's Academic Integrity Policy which can be found at: http://www.senecacollege.ca/about/policies/academic-integrity-policy.html Review section 2 of the policy for details regarding approaches to supporting integrity. Section 2.3 and Appendix B of the policy describe various sanctions that can be applied, if there is suspected academic misconduct (e.g., contract cheating, cheating, falsification, impersonation or plagiarism).

Please visit the Academic Integrity website http://open2.senecac.on.ca/sites/academic-integrity/for-students to understand and learn more about how to prepare and submit work so that it supports academic integrity, and to avoid academic misconduct.
Discrimination and Harassment:
All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment. Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated. Information and assistance are available from the Student Conduct Office at student.conduct@senecacollege.ca.
Accomodation for Students with Disabilities
The College will provide reasonable accommodation to students with disabilities in order to promote academic success. If you require accommodation, contact the Counselling and Accessibility Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.

Program Information