Advance Database Concepts

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9
At a glance
Powered by AI
The course will cover advanced SQL concepts like functions, grouping, joins and complex queries. It will also cover PL/SQL, database security, and introduce tools like Oracle Form Builder and Report Builder.

Topics that will be covered include SQL functions, advanced queries, data manipulation, security, PL/SQL, triggers, Form Builder and Report Builder.

Software that will be used includes Oracle 10g for the database, and tools like Form Builder and Report Builder for creating applications.

Course Outline

School: Department: Program:


School of Engineering Technology and Applied Science Information and Communication Engineering Technology Health Informatics Technology Software Engineering Technician Software Engineering Technology Software Engineering Technology Interactive Gaming

Course Title: Course Code: Total Course Hours: Prerequisites/Co-requisites: Eligible for Prior Learning Assessment and Recognition: Originated by: Revised by: Date: Effective Semester: Approved by:

Advanced Database Concepts COMP214 60 COMP122

Yes John A.H. Bailey Ilia Nika September 2009 Fall 2010

________________________________________ Chairperson/Dean
Students are expected to know the contents of the course outline and to discuss with the professor any areas where clarification is required. Students should keep all course outlines for each course taken at Centennial College. These may be used to apply for transfer of credit to other educational institutions. A fee may be charged for additional or replacement copies.

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

Course Description
This course is intended to expand students knowledge of business database systems. The course starts with introducing students to the steps required to install an Oracle 10g database and developer system. Then, it expands on the students knowledge of SQL by introducing more complex syntax than that covered in the first database course, as well introducing Oracle Form Builder and Report Builder utilities to create applications. Topics covered include SQL functions to manipulate numbers, dates, and character strings, grouping, conversion and transformation functions, advanced queries, advanced data and table manipulation commands, basic oracle security, PL/SQL triggers, functions, procedures, and packages, an introduction to Oracle Form Builder, and an introduction to Oracle report builder.

Course Learning Outcomes


The student will reliably demonstrate the ability to: 1. Install an Oracle 10g database and developer system. 2. Write SQL commands to: a. Manipulate character strings, numbers, and dates. b. To convert and transform data types. c. Group rows of data in a table. d. Perform inner, outer, left or right joins. e. Perform joins using relational set operators. 3. Write SQL commands to perform advanced data and table manipulation in the context of a prescribed business problem. 4. Explain the basic concepts of security and the responsibilities of a database administrator. 5. Write PL/SQL procedures, triggers, functions, and packages to access and manipulate data. 6. Create basic forms using Form Builder to access data. 7. Create basic reports using Report Builder to access data.

Essential Employability Skills (EES)


The student will reliably demonstrate the ability to: 1. Communicate clearly, concisely, and correctly in the written, spoken, and visual form that fulfils the purpose and meets the needs of audiences. 2. Interact with others in groups or teams in ways that contribute to effective working relationships and the achievement of goals. 3. Reframe information, ideas, and concepts using the narrative, visual, numerical, and symbolic representations, which demonstrate understanding. 4. Manage the use of time and other resources to attain personal and/or project-related goals. 5. Take responsibility for her or his actions and decisions.

Global Citizenship and Equity (GC&E) Outcomes


The student will reliably demonstrate the ability to: 1. Examine ones roles and responsibilities as a global citizen in personal and professional life. 2. Analyze the use of the worlds resources to achieve sustainability and equitable distribution at the personal, professional, and global level.
Rev. COLT: May 2010 THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar) 2

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

Prior Learning Assessment & Recognition (PLAR) Process(es):


This course is eligible for prior learning assessment whereby the student will demonstrate past learning acquired through study, work, or other life experiences. The challenge process will include any or all of the following: an interview, a portfolio, writing of programs in PL/SQL, and an exam in order to assign a grade that reflects the students abilities with respect to the above Course Learning Outcomes.

Text and Other Instructional/Learning Materials


Required Text:
Loney, Kevin, ORACLE DATABASE 10g The Complete Reference, Osborne McGraw-Hill, 2004, ISBN 978-0-07-225352-8. Available on SafariBooks On-Line: http://my.safaribooksonline.com/9780072253511 Reference Books (Purchase not required): Oracle Database 11g The Complete Reference (Osborne ORACLE Press Series), ISBN-10: 0071598758 ISBN-13: 978-0071598750, Publisher: McGraw-Hill Osborne Media; 1 edition (December 17, 2008).

Evaluation and Grading System


Evaluation Description
Assignments and Projects Term Project Mid-Term Exam Comprehensive Final Exam

Weight /100
25 15
25

35

Two criteria are used to determine whether a student has achieved a passing grade in this course: a) An overall 50% grade based on the grading scheme above, and b) A 50% grade in the test/exam component of the course.

In consultation with the Chair or Dean, a faculty member or instructor may administer additional or alternative evaluations to fully assess the capability of a student. When writing a test or examination, students must put their official photo-ID cards in full view for review by the invigilator. Students who do not have official photo-ID will be permitted to write the examination with a substitute photo-ID, but they will be required to produce photo-ID at the program or department office within 24 hours or the next business day following the examination, or else the examination results will be void.

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

Student Accommodation:
All students have the right to study in an environment that is free from discrimination and/or harassment. It is College Policy to provide accommodation based on grounds defined in the Ontario Human Rights Code. Accommodation may include changes or modifications to standard practices. This document is available in alternative formats upon request. Please contact the originating department or school of study. Students with disabilities who require academic accommodations must register with the Centre for Student with Disabilities. Please see the Centre for Students with Disabilities for details. Students requiring accommodation based on human rights grounds should talk with their professors as early as possible. Details are available on the Centennial College website (www.centennialcollege.ca ). If students are unable to write an examination due to a medical problem or unforeseen family problems, they should immediately contact their professor or program Chair for advice. In exceptional and well documented circumstances (e.g. unexpected family problems, serious illness, or death of a close family member), students should be able to write a make-up examination to replace an examination missed.

Use of Dictionaries
Dictionaries may be used in tests and examinations, or in portions of tests and examinations, as long as they are non-electronic (not capable of storing information) and hard copy (reviewed by the invigilator to ensure notes are not incorporated that would affect test or examination integrity);

Course, Program or School Policies


N/A

Student Rights and Responsibilities


Students should familiarize themselves with all College Policies that cover students rights and responsibilities. For more information on the following and other policies, please visit www.centennialcollege.ca/aboutus/respect or consult the Academic Matters Section in the fulltime and Continuing Education catalogues. Respect at Centennial At Centennial College, we are committed to providing a safe and respectful learning, teaching and working environment for all students, faculty and staff that promotes equity. Policies have been put in place to ensure that Centennial is a place that demonstrates respect and consistency with the Ontario Human Rights Code. All incidents of harassment, discrimination, bullying and violence will be addressed and responded to. As a college, we take the position that all forms of harassment, including personal harassment and bullying, must be stopped. Please refer to www.centennialcollege.ca/aboutus/respect and www.stopbullyingnow.ca .

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

Academic Honesty Academic honesty is integral to the learning process and a necessary ingredient of academic integrity. Students have a responsibility to be aware of and comply with standards of academic conduct. Academic dishonesty includes cheating, plagiarism, and impersonation. All of these occur when the work of others is presented by a student as their own and/or without citing sources of information. Breaches of academic honesty will be investigated and if warranted appropriate remedies and penalties will be applied, which may include a failing grade on the assignment/course, suspension or expulsion from the college. Grades Appeal Students and faculty have rights and responsibilities in the Grades Appeal process. Students who need to appeal a grade should consult the Grades Appeal policy and procedures. Progression and Academic Standing Students are expected to meet the academic standards of their School or program. The academic standing of each Centennial student is monitored during as well as at the end of each semester. Any student not demonstrating satisfactory progress will be informed of his/her standing in the College and will receive academic advising within their School. Unsatisfactory academic performance may result in conditional academic standing, probation or suspension.

Faculty Support
Professors are available to see students outside of class time. Students can contact professors via voice mail, email, or through their program or department office. Information regarding how to contact teachers will be provided at the beginning of the course and is also available in the program or department office.

Campus Safety
Students must produce official photo identification at any time during the semester when requested to do so by any college staff.

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

Topical Outline
WEEK
1

TOPICS
Introduction to course: Distribution and explanation of course outline Assignment of user IDs and test of logons Quick refresher on SQL*Plus environment Outline of term project Demonstration of how to install Oracle 10g with a sample database including network configuration and default accounts Functions for manipulating character strings

READINGS/ MATERIALS
Course Outline

WEEKLY LEARNING OUTCOMES


Students will: Understand the course requirements, Refresh their knowledge of the SQL*Plus environment, and

INSTRUCTIONAL STRATEGIES
Review of course outline, and hands-on demonstration of SQL*Plus environment.

COURSE EVALUATIONS

Handouts

Students will be able to install and configure both the database and the client environment using Oracle Universal Installer.

Lecture and demonstration of Oracle 10g installation.

Chapter 7

Functions for manipulating numbers

Chapter 9

Students will be able to write SQL commands to: Manipulate, cut, and paste character strings such as CONCATENATE, RPAD, LPAD, RTRIM, LTRIM, TRIM, LOWER, UPPER, INITCAP, LENGTH, SUBSTR, and INSTR Manipulate numbers using single-value, aggregate, and list functions such as ABS(), ROUND(), AVG(), LEAST(), etc., and mathematical considerations such as NULL values, addition, subtraction, multiplication, division, etc.
CENTENNIAL COLLEGE

Lecture on chapter 7 contents and syntax in lecture periods, and practice exercises in lab class.

Choice of groups and subject for term project due.

Lecture on chapter 9 contents and syntax in lecture periods, and practice exercises in lab class.

Rev. COLT: May 2010

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

WEEK
3

TOPICS
Functions for manipulating dates

READINGS/ MATERIALS
Chapter 10

WEEKLY LEARNING OUTCOMES


Students will be able to write SQL commands to: Manipulate date strings, using functions such as SYSDATE, ADD_MONTHS(), NEXT_DAY(), LAST_DAY(), ROUND, TRUNC, TO_DATE(), TO_CHAR() Perform date arithmetic, and Determine system and current date. Students will be able to: Write SQL commands to manipulate data types and perform conversions from one data type into another, including TO_CHAR, TO_DATE, TO_NUMBER, TRANSLATE, and DECODE. Explain automatic conversion of data types Students will be able to write SQL queries to group rows of data in a table.

INSTRUCTIONAL STRATEGIES
Lecture on chapter 10 contents and syntax in lecture periods, and practice exercises in lab class.

COURSE EVALUATIONS
Quiz #1 on Chapters 7 and 9. Assignment #1 covering Chapters 7 and 9.

Conversion and Transformation Functions

Chapter 11

Lecture on chapter 11 contents and syntax in lecture periods, and practice exercises in lab class.

Grouping Functions

Chapter 12

Lecture on chapter 12 contents and syntax in lecture periods, and practice exercises in lab class. Lecture on chapter 13 contents and syntax in lecture periods, and practice exercises in lab class.

Advanced Queries

Chapter 13

Advanced Data Manipulation Commands

Chapter 15

Students will be able to write: Advanced queries using correlated subqueries, EXISTS, inner and outer joins, and relational set operators such as UNION, INTERSECT, and MINUS. Students will be able to write complex SQL statements to add, delete, or modify table data such as insert with select, update with embedded select, update with null, etc.

Lecture on chapter 15 contents and syntax in lecture periods, and practice exercises in lab class.

Quiz #2 on Chapters 10 through 13. Assignment #2 covering Chapters 10 through 13.


7

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

WEEK
6

TOPICS
Advanced Table Manipulation Commands

READINGS/ MATERIALS
Chapter 17

WEEKLY LEARNING OUTCOMES


Students will be able to write complex SQL statements to: Create, alter, and drop tables, table columns, views, and indexes, and Manage tables, views, and indexes using tools such as clusters, sequences, etc.

INSTRUCTIONAL STRATEGIES
Lecture on chapter 17 contents and syntax in lecture periods, and practice exercises in lab class.

COURSE EVALUATIONS

7 8

Mid-Term Exam Basic Oracle Security

Material covered to this point. Chapter 18

Examination Students will be able to implement the basic security measures available in Oracle such as creating users, password management, granting, revoking and passing privileges, assigning roles, and granting access to the public. Students will understand the basic PL/SQL structures such as conditional statements, loops, etc., and be able to write moderately complex PL/SQL programs, including cursors, and simple exception handling. Students will understand the types and uses of triggers and be able to create and manage triggers. Lecture on chapter 18 contents and syntax in lecture periods, and practice exercises in lab class. Assignment #2 covering Chapters 15 and 17.

An Introduction to PL/SQL

Chapter 29

Lecture on chapter 29 contents and syntax in lecture periods, and practice exercises in lab class.

10

Triggers

Chapter 30

11

Procedures, Functions, and Packages

Chapter 31

12

Introduction to Form Builder

Handout

Students will be able to write sophisticated business rules and application logic in the form of procedures and functions, and use packages to group related logic. Students will understand the architecture of Oracle Form Builder, and be able to create forms using the Data Block, Layout, and LOV Wizards, including forms with multiple data blocks.

Lecture on chapter 30 contents and syntax in lecture periods, and practice exercises in lab class. Lecture on chapter 31 contents and syntax in lecture periods, and practice exercises in lab class. Handout presentation illustrating Form Builder architecture, and the use of data block, layout, and LOV wizards.

Quiz #3 on Chapters 18 and 29.

Quiz #3 on Chapters 30 and 31. Assignment #3 covering Chapters 29, 30, and 31.
8

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

Advanced Database Concepts

CENTENNIAL COLLEGE

COMP214

WEEK
13

TOPICS
Introduction to Report Builder

READINGS/ MATERIALS
Handout

WEEKLY LEARNING OUTCOMES


Students will understand the architecture of Report Builder, and be able to create reports using Report Wizard including simple reports, and master-detail reports. Review of key concepts.

INSTRUCTIONAL STRATEGIES
Handout presentation illustrating Report Builder architecture, and the use of Report Wizard.

COURSE EVALUATIONS

14 15

Review Final Exam

Material covered in course.

Group project due. Examination

Rev. COLT: May 2010

THIS COURSE ADHERES TO ALL COLLEGE POLICIES (See College Calendar)

You might also like