Is321 Course plan semester1-1434/1435 IS 422 – Fundamental of database System Instructors: Instructors name L. Aisha AlArfaj ( Coordinator) Office Location 1.501.15 E-mail aiaalarfaj@pnu.edu.sa L. Manar Altamimi manar.altamimi@hotmail.com L. AlHanouf AlBaker prof.hf@hotmail.com L. Zahaira ZMZain@pnu.edu.sa L. Najla Ba Hamid najlaab200@yahoo.com Arwa Aldwesh (tutor) ams_arwa@hotmail.com Basma ( tutor ) Basma.w.m@hotmail.com Course URL: BlackBoard Course Objectives: By the end of this course, the students should be able to: Cover information systems design. Build logical solutions for different problems. Develop software solution for different problems. Use one of the database management systems to solve different applications. Course Main Topics: Principles of DB, Conceptual, logical, and physical data models, and modeling tools. Models for databases. Relational and object oriented; design tools Data dictionaries, repositories; domains, keys, and integrity constraints The structured query language(SQL); data definition, queries, update, statements, and views in SQL Database design; functional dependencies, normal forms Introduction to object oriented (OO) databases. Course References : 1. Fundamentals of Database Systems", Ramez Elmasri, Shamkant B. Navathe, Prepared by : L. Nouf Almujally Is321 Course plan semester1-1434/1435 Addison Wesley, The Latest Edition. www.oracle.com 2. other useful refrences: -"DATABASE MANAGEMENT SYSTEMS", by Raghu Ramakrishnan, JohannesGehrke, The Latest Edition. -"MODERN DATABASE MANAGEMENT",by Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden, Prentice Hall, The Latest Edition Course Grading: Dues Quiz 1 ( 2.5 % ) Mid 1( 10 %) Quiz 2( 2.5 % ) Mid 2( 10 %) Project ( 5% ) Homework ( 5 % ) Final lab ( 15 % ) Final ( 50 % ) Due date Marks Week 5 Week 7 Week 10 Week 12 Week 14 Check course website Refer to IS department Refer to IS department 2.5 10 2.5 10 5 Total Week No. Lecture 15 50 100 Lab 1 Course plan none 2 Introduction to the course contents Course plan Configuration of Oracle 10, Notepad++ Database Architecture Database languages Data models Database langauges Training on oracle SQL environment Writing scripts by Notepad++ Saving of SQL file Run the script file in SQL Plus Users creation 3 Prepared by : L. Nouf Almujally References chapter 1 chapter 2 Is321 Course plan 4 The Relational Model (Part-1) semester1-1434/1435 5 Entity-Relationship Modeling (part-2) 6 • • • • • • • • • • 7 8 • Oracle Data Types Data Definition Identifying Primary Key Constraints Identifying Foreign Keys Check Constraints Unique Constraints and Default Values Modifying Table Definitions Dropping Tables Viewing/enabling/disabling/ dropping Constraints Simple Queries Condition in the WHERE Clause Listing All Data in a Table Use of BETWEEN Use of IN Use of LIKE IS NULL and IS NOT NULL Expressions Involving NULL Use of DISTINCT Ordering of Rows Aggregate Functions o COUNT o SUM o AVG o MIN o MAX Other Oracle Built-in Functions Prepared by : L. Nouf Almujally SQL COMPONENTs WITH EXAMPLE SCRIPTS Example of problem Definition of main features of the problem Identify main users Drawing users behavior diagram Creation main tables Specify primary keys and foreign keys Identify types of relation Make the relation model Drawing ER diagram chapter 3 Querying using relational algebra chapter 5 Chapter 8 SCRIPTS (DDL) SCRIPTS (DML) Chapter 3 Chapter8 Is321 Course plan • • • • • • • 9 • • • • • • • • • • • • • • • 10 • • Table names and Column names Oracle SQL plus Only facilities Saving Output and Using HOST Basic Insert Statement Inserting Data Using Queries Create Table Using Queries Data Definition Commands in Standard SQL Advanced queries Use of GROUP BY Use of HAVING Use of AS – column alias Selecting from Multiple Tables (Joins) Outer Joins Outer Joins in Oracle SQL Nested Queries (1) Nested Queries (2) Use of IN EXISTS NOT EXISTS Correlated and Uncorrelated Subqueries Subqueries versus Joins UNION, MINUS and INTERSECT Database functional dependencies Normal forms semester1-1434/1435 SCRIPTS (DML) Chapter8 chapter 10 Example scripts of creation view practice DML normal forms exercises Recovery Chapter19 Chapter20 11 12 Database functional dependencies Normal forms Data Dictionary 13 Data Dictionary Data dictionary examples scripts 14 Advance topics in database Project Submission 15 Revision Prepared by : L. Nouf Almujally Practice Chapter 10 Is321 Course plan semester1-1434/1435 General Notes In case of any changes to the above schedule(s), students will be informed. Policies No makeup for Midterm exams unless you submit original papers that are stamped and accepted from information system supervisor. You should submit your excuse no more than one week after the exam. If your excuse is accepted, you will be allowed to enter a comprehensive exam at the end of this semester. Your homework is not accepted after the due date. Each student is expected to do her own work on all of the course material. The penalty for cheating is a grade of zero. Attendance will be taken at the beginning of the class’s time. You will be considered as an absent if you late more than ten minutes. No questions will be answered on the date of the exam. Mobile is not allowed to be used in the class at all. Therefore, please keep it off during class time. You are not allowed to attend the final exam if you absent more than 13 hours and you will be considered as denied, a first probation will be issued if you reach 5 hours of absence and the second probation will be issued if you reach 9 hours of absence. Prepared by : L. Nouf Almujally