DBS201 - Introduction to Database Design and SQL

Outline info
Semester
School
Last revision date 2017-05-29 00:32:46.633
Last review date 2017-07-17 00:15:35.68


Subject Title
Introduction to Database Design and SQL

Subject 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)

Learning Outcomes
Upon successful completion of this subject the student will be able to:

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

Essential 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.

Cheating and Plagiarism
Each student should be aware of the College's policy regarding Cheating and Plagiarism. Seneca's Academic Policy will be strictly enforced.

To support academic honesty at Seneca College, all work submitted by students may be reviewed for authenticity and originality, utilizing software tools and third party services. Please visit the Academic Honesty site on http://library.senecacollege.ca for further information regarding cheating and plagiarism policies and procedures.

Discrimination/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.

Accommodation 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 Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.

Prerequisite(s)
IPC144 OR ULI101

Topic Outline
 Overview of Databases - (10%)

  • 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
  • Query-By-Example using Access
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 - (25%)
  • 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 - (20%)
  • Introduction to using DB2 on the AS/400
  • Create a DB2 table 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 statments
  • Preserve data 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 - (3%)
  • 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 - (2%)
  • 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

Mode of Instruction
Classroom lectures and discussions are supplemented by lab sessions with the instructor, reinforced by assigned readings and assignments between classess.

It is the student's responsibility to save documents, articles and notes that the instructor has provided on BlackBoard or in class. Students will not be able to access BlackBoard as of the last day of the student’s class.

Prescribed Texts
Database Systems, Design, Implementation & Management 11th Edition
by Peter Rod & Carlos Coronel
Course Technology
ISBN# 978-1285196145

Reference Material
A Guide to SQL, 9th Edition 
by Pratt, Course Technology, IT Nelson
ISBN#978-1111527273 

Mastering the AS/400, 3rd Edition
by Jerry Fottral, 29th Street Press, 
ISBN# 978-158-3040706

Promotion Policy

Grading Policy
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/academic-policy) or at Seneca's Registrar's Offices.


Modes of Evaluation
Since this is a professional credit subject, marking standards reinforce professional practice by demanding legible, tidy work. Written materials should be well organized and grammatically correct, with proper spelling and punctuation.

Assignments

  • Students must retain a duplicate of all assignments.
  • Computer assignments should be documented to the instructor's standards.
  • Assignments must be handed in on the scheduled due date. Late assignments are penalized.
  • For particulars, please obtain standards, dates, etc. from your instructor.

Absenteeism and Tests
  • Students should be aware that absenteeism will impact on their ability to achieve satisfactory grades.
  • If you miss a test, you must provide the reason in writing to the instructor prior to the next scheduled class. If your reason is accepted, you will be permitted to write a make-up test. Otherwise, you will be given a zero for the test. You must submit an original doctor’s certificate identifying the date, length of time of expected absence and the specific reason for your absence, or other appropriate documentation.

Term Work and Final Exam
  • Students must attain a combined grade of at least 50% on term work and the final exam. Students must pass the final exam in order to pass the subject. 
  • For further information on evaluation and academic standing, see a copy of the Academic Policy available at Seneca registration offices.

Grading is based on the following marking scheme:

Assignments (minimum 2) 30%
Tests (minimum 2) 40%
Final Exam 30%

  

Approved by: Sharon Estok