* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Publisher - Mat/Sta/CMP Department
Data analysis wikipedia , lookup
Operational transformation wikipedia , lookup
Data center wikipedia , lookup
Information privacy law wikipedia , lookup
Expense and cost recovery system (ECRS) wikipedia , lookup
Microsoft Access wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Data vault modeling wikipedia , lookup
Open data in the United Kingdom wikipedia , lookup
Business intelligence wikipedia , lookup
Microsoft SQL Server wikipedia , lookup
Oracle Database wikipedia , lookup
Concurrency control wikipedia , lookup
Versant Object Database wikipedia , lookup
Clusterpoint wikipedia , lookup
NASSAU COMMUNITY COLLEGE DEPARTMENT OF MATHEMATICS/STATISTICS/COMPUTER PROCESSING Course Outline for CMP 252 Relational Database Management Curriculum Interdisciplinary Lab hours none Semesters offered Indicated in Catalog Length of semester 15 Weeks Class hours 4.5 Credits 4 Text Database Management Systems : Designing and Building Business Applications, 2nd Edition Author: Gerald V,. Post Publisher: Irwin McGraw-Hill PREREQUSITE At least a C in ITE 154, or permission of department. (Prerequsite was changed from CMP 218 or CMP 219 as a result of the new IT degree) CATALOG DESCRIPTION This course is an introduction to business and technical database processing. Emphasis is placed on the planning, administration, control and design of database systems. Students will develop applications using a popular DBMS software package. (4.5 lecture hours) Laboratory fee applies. COMPUTER CENTER REQUIREMENT Students should avail themselves of further study and/or educational assistance available in the Computer Learning Centers located in rooms B-225 and B-116 as part of this course. These services are to be considered an integral part of the course work and will help the student master the necessary knowledge and skills for Database Management and Development. DISABILITY STATEMENT If you have a physical, psychological, medical or learning disability that may impact your ability to carry out assigned coursework, I would urge that you contact the staff in The Center for Students with Disabilities (CSD) in Building "U", 572-7241, TTY 572-7617. CSD will review your concerns and determine with you what accommodations are necessary and appropriate. All information and documentation is confidential. Revised Fall 2007 OBJECTIVES GENERAL Upon completion of this course, the student will: be able to design, create and document a relational database have a sound understanding of database architectures and their managerial implications understand the fundamentals of data administration be able to formulate both simple and complex SQL queries SPECIFIC Upon completion of this course, the student will be able to: explain different types of database systems understand the essentials of systems analysis & design as it applies to designing database applications design relational databases using standard techniques such as normalization document the design and use of the database formulate, design and implement both simple and complex SQL queries design and execute stored procedures understand the management issues regarding DBMS Week 1; Introduction Lecture Introduction to the class, syllabus and class policies Overview What is a DBMS. Developing applications with a DBMS. Application Development using a DBMS Characteristics of a DBMS. Database terminology. Advantages of the database approach. File-oriented systems compared with database systems. File vs. Database Systems. Data models: Hierachical, Network, Relational, Object-Oriented. Components of a DBMS Engine Data Dictionary Query Processor Report Writer Forms Generator Application Generator Communication and Integration Security and Other Utilities Leading Commercial Databases Brief History of Database Management Hierarchical Databases Network Databases Relational Databases Object-Oriented Databases Revised Fall 2007 Week 2-3: Systems Design Systems Design Feasibility Study Costs Benefits Designing Systems Identifying User Requirements Designing Systems with UML Class Diagrams Classes & Entities Associations & Relationships Class Diagram Details Data Types Text Numbers Dates and Times Binary Objects Computed Values Week 4: Data Normalization Normalization Tables, classes, keys (primary, foreign, candidate, surrogate, composite, notation) Dependency First Normal Form Second Normal Form Third Normal Form concatenated, Data rules and integrity Schemas. Semantic rules. The effects of Business Rules Documentation of database design Note: The instructor should give introductory, intermediate, and advanced exercises on data normalization. The Instructor may use Oracle to demonstrate normalization and students may complete these exercises using Oracle Database design projects: the student should be able to take multiple examples of unnormalized data and normalize to 3 NF. The student should be able to apply these database designs to Oracle by creating the tables and relating them with rules regarding updates and referential integrity. Suggested Examination Revised Fall 2007 Week 5: SQL Queries Introduction to SQL Specifying outputs, inputs, table involvement. Query Essentials: Criteria, Boolean algebra, DeMorgan's Law. Introduction to SQL. SELECT statements. SELECT statements with conditions. WHERE clauses. Computations, Subtotals and GROUP BY. WHERE and HAVING. Joining multiple tables. Note: Students should be given at least 2 introductory, 2 intermediate, and 2 advanced assignments regarding SQL queries. Oracle may be used to build and perform queries. Week 6-7: Advanced Queries and Subqueries Using SQL Advanced SQL Queries Subqueries of existing queries. NOT IN, UNION, INTERSECT, EXCEPT. Defining tables in CREATE. Data manipulation: INSERT, DELETE, UPDATE. CASE function, Multiple Joint Columns, Inequality Joins, Cross Tabulation. Note: Students should be given at least 2 introductory, 2 intermediate, and 2 advanced assignments regarding SQL queries. Oracle may be used to build and perform queries. Week 8: Stored Procedures Purpose/use of stored procedures Design and implement stored procedures both with and without parameters Documentation of stored procedures Note: Students should be given at least 2 introductory, 2 intermediate, and 2 advanced assignments regarding stored procedures. Oracle may be used to build and run stored procedures. Documentation should be written with the goal of providing it to “database users” and should include the purpose of each stored procedure along with any parameters. Revised Fall 2007 Week 9: Importance of Documentation / Calculations & Data Manipulation Students should be given an already designed and populated database without any documentation and be asked to retrieve specific data from that database (using SQL and already created stored procedures). The student should then be asked to create the missing documentation for the database and its stored procedures. Procedural Languages Programming Environment Windows Environment Data On Forms Data Controls Control Properties Using Programs to Retrieve and Save Data in the Database Building SQL statements with code Data Aggregation and Computation ADO objects (ODBC) Multiple Users and Concurrent Access Integrity Issues Deadlock Lock Manager Methods of Handling Locks Note: The instructor may give examples using a computer language on his/her choice (i.e., Visual Basic, Java, C++) as long as that language is taught as part of the curriculum in this department. Suggested Examination Week 10: Application Development Application Development User Interfaces Ensuring Data Integrity Purpose of User Interfaces Designing Applications Switchboards, Menus, Toolbars, Reports: detail, summary, and exception Note: The instructor may wish to give assignments where students design and develop a relational Database and report that data using a report writer such as that found in Oracle . Week 11: Database Administration Physical Design Physical storage. Tables operations. Data storage methods: sequential, pointers, indexes, linked lists, B+ Tree, direct/hashed access Data clustering and partitioning. RAID storage and data striping. Comparison of existing DBMS i.e. Oracle Revised Fall 2007 Week 12-13: Database Administration Overview DBA tasks, DBA tools. Database planning, design, implementation, operation & maintenance. Performance modeling. OLTP-ON-Line Transaction Processing, OLAP - ON-Line Application Processing. Data Mining. Data Warehousing. Backup. Recovery. Rollback. Security Issues. Encryption. Week 14: Distributed Database and the Internet Distributed Database and the Internet Distributed Databases: Goals and rules, advantages and applications. Creating a distributed database. Managerial considerations. Distributed query processing. Concurrency, locks, transactions. Distributed databases in Oracle. Data replication. Client Server Databases Client Server databases vs. File Server. The Web as a Client/server System. Week 15: Object Oriented Databases and Integrated Applications Object Oriented Databases Data types and objects. Object Oriented Databases and SQL 3: Properties, methods, languages. Integrated objects: OLE DATA Mining. FINAL EXAMINATION Revised Fall 2007