Home

DBS301 Course Outline

Course Code: DBS301
Course Name: Database Design II and SQL Using Oracle
Offered Date: Summer - 2019 | Other versions
Print Outline
Course Description:
This subject continues the study of database design and SQL begun in DBS201. Students will learn the entire set of SQL statements using Oracle's DBMS. Students will also learn Oracle's SQL *Plus commands. Students will work in teams to prepare and implement the logical and physical database schema for a business application requiring 12-18 tables including all necessary contraints to protect the integrity of the data.
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: DBS201
Mode of Instruction: 3 hours interactive lecture per week.
1 hour lab time per week.
Learning Outcomes:
1. Identify all constraints required to maintain data integrity for a business application

2. Work effectively as a member of a team to analyse data requirements, prepare an Entity Relationship Diagram, normalize application user views and prepare a logical database schema for a business application requiring more than 12 tables

3. Identify use of necessary indexes, views and sequences for an application

4. Implement, maintain and retrieve data using an Oracle database for a complex business application

5. Use SQL's Data Definition Language statements of CREATE, ALTER and DROP to create, modify and drop database objects including tables, views, sequences and indexes with all constraints required to maintain data and referential integrity

6. Use SQL*Plus commands to efficiently create, edit and run SQL statements and to format SQL output

7. Use SQL's Data Manipulation Language statements of INSERT, UPDATE and DELETE to add, change and delete application data from tables

8. Use SQL's Transaction Control Language statements of COMMIT to make database changes permanent and ROLLBACK to undo database changes

9. Use SQL's Data Control Language statements of GRANT and REVOKE to permit and remove access to database objects

10. Use commands from SQL*Plus, Oracle's extension to the SQL language, to customize a session environment

11. Use iSQL*Plus to create and run SQL statements

12. Use SQL's SELECT statement to retrieve data required by an application, including use of single row and group functions, nested queries and correlated sub-queries
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.|Manage the use of time and other resources to complete projects.|Take responsibility for one's own actions, decisions, and consequences.|
Topic Outline:
  • Logical and Physical Database Design - 15%
    •         review identification of entities, attributes (mandatory or optional), candidate and primary keys
    •         use RAD method towards 3NF by analyzing a Business Narrative provided by Database/System analyst
    •         produce logical schema in the form of an ERD
    •         identify required tables, sequences and indexes for physical schema for an application
    •         identify all primary keys, foreign keys, validations, and unique constraints required to protect data integrity
  • SQL's Data Definition Language Statements - 20%
    •         create, modify and drop tables, views, sequences and indexes
    •         define primary key, foreign key, not null, unique and check constraints required to maintain integrity of application data
  • Oracle's Data Dictionary - 5%
    •         Query data dictionary using USER_OBJECTS, USER_TABLES, USER_TAB_COLUMNS, USER_INDEXES, USER_SEQUENCES, USER_VIEWS
    •         Discuss why a commit is automatically performed after any change to data dictionary information
  • SQL's SELECT Statement - 30%
    •         Create, test and walkthrough queries using ordering, single and group row functions, joins (inner, outer), and subqueries
    •         Implement relational operators (selection, projection, Cartesian Product, join, union, intersection and difference) in SQL
    •         Create appropriate test data
  • SQL's Data Manipulation Language Statements - 15%
    •         Create, test and walkthrough insert, update and delete statements, both simple and those including use of subqueries
  • SQL's Transaction Control Statements - 10%
    •         Review temporary versus permanent changes to data
    •         Apply and test commit and rollback commands
    •         Discuss need for transaction processing in a business application
    •         Identify and implement transactions required by a business application
  • Oracle SQL*Plus Commands - 5%
    •         Customize a session environment using SET command
    •         Use the DESCRIBE, SPOOL, START, @ commands
    •         Use Editing commands
Prescribed Text(s):
  • Oracle 11g Notes - SQL (available at the seneca bookstore with Yellow cover)
Reference Material:
  • Oracle  SQL by Example –4TH Edition by Alice Rischert, The Prentice Hall, Pearson Education
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 5%
Assignments (minimum of 3) 20%
Tests (minimum of 2) 40%
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