NASSAU COMMUNITY COLLEGE DEPARTMENT OF MATHEMATICS/STATISTICS/COMPUTER PROCESSING Course Outline for ITE252 Database Management Curriculum Interdisciplinary Lab hours none Semesters offered Indicated in Catalog Length of semester 15 Weeks Class hours 4.5 Credits 4 Text The textbooks bundled at the bookstore under isbn 9781118749630 98-364: MTA Database Administration Fundamentals, 1st Ed. Author: Microsoft Office Academic Course Publisher: Wiley ISBN: 978-0-470-88916-9 Wiley Pathways Introduction to Database Management, 1st Ed. Author: Gillenson, Ponniah, Kriegel, Trukhnov, Taylor, Powell, Miller Publisher: Wiley ISBN: 978-0-470-10186-5 (Old Course Prefix / Number: CMP 252 – students cannot receive credit for both CMP 252 and ITE 252) PREREQUSITE A grade of C or better in both CSC 104 and ITE 101. CATALOG DESCRIPTION This course is an introduction to database processing for business applications. Emphasis is placed on the design, implementation and administration of a database as well as the use of Structured Query Language (SQL). Students will develop applications using a popular DBMS software package. Students who have completed CMP 252 will not get credit for ITE 252. (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 Center located in room B-225 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. Revision Date: May 2015 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 SOFTWARE SQL Server should be used to teach students the topics in the course. Instructors should contact Tom Re (Tom.Re@ncc.edu) to set up accounts on the server. COURSE OUTLINE 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 Revision Date: May 2015 Network Databases Relational Databases Object-Oriented Databases 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 should use SQL Server to demonstrate normalization and students may complete these exercises using SQL Server 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 SQL Server by creating the tables and relating them with rules regarding updates and referential integrity. Suggested Examination Revision Date: May 2015 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. SQL Server should 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. SQL Server should 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. SQL Server should 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. Revision Date: May 2015 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 SQL Server . 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 Revision Date: May 2015 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 Revision Date: May 2015