COURSE CODE: CIT 844 COURSE TITLE: ADVANCED DATABASE MANAGEMENT SYSTEM

Size: px
Start display at page:

Download "COURSE CODE: CIT 844 COURSE TITLE: ADVANCED DATABASE MANAGEMENT SYSTEM"

Transcription

1 NATIONAL OPEN UNIVERSITY OF NIGERIA COURSE CODE: CIT 844 COURSE TITLE: ADVANCED DATABASE MANAGEMENT SYSTEM

2 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM COURSE GIUDE ADVANCED DATABASE MANAGEMENT SYSTEM Course Developer/Writer Dr. Olusegun Folorunso Department of Computer Science University of Agriculture Abeokuta Programme Leader Prof. Afolabi Adebanjo National Open University of Nigeria Course Coordinator National Open University of Nigeria Page ii

3 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM NATIONAL OPEN UNIVERSITY OF NIGERIA CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM National Open University of Nigeria Headquarters 14/16 Ahmadu Bello Way Victoria Island Lagos Abuja Office No. 5 Dar es Salaam Street Off Aminu Kano Crescent Wuse II, Abuja Nigeria centralinfo@nou.edu.ng URL: Published by National Open University of Nigeria Printed ISBN: XXX-XXX-XXX-X All Rights Reserved Page iii

4 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM CONTENTS PAGE Introduction... v What you will Learn in this Course. v Course Aims. vi Course Objectives. vi Working through this Course... vi Course Materials... vi Online Materials... vii Study Units... vii Equipments.. viii Assessment.. ix Tutor-Marked Assignment... ix Course Overview.... x How to Get the Most from this Course... x Summary.. xi Page iv

5 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Introduction The course, Advanced Database Management System, is a core course for students studying towards acquiring the Master of Science in Information Technology. In this course we will study about the Database Management System as a key role in Information Management. Various principles of database management system (DBMS) as well as its advanced features are discussed in this course. This course also considers distributed databases and emerging trends in database system. The overall aim of this course is to introduce you to various ways of designing and implementing database systems, features and distributed databases. In structuring this course, we commence with the basic design and implementation of relational databases. There are four modules in this course, each module consists of units of topics that you are expected to complete in 2 hours. The four modules and their units are listed below. What You Will Learn in this Course The overall aims and objectives of this course provide guidance on what you should be achieving in the course of your studies. Each unit also has its own unit objectives which state specifically what you should be achieving in the corresponding unit. To evaluate your progress continuously, you are expected to refer to the overall course aims and objectives as well as the corresponding unit objectives upon the completion of each. Page v

6 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Course Aims The overall aims and objectives of this course will help you to: 1. Develop your knowledge and understanding of the underlying principles of Relational Database Management System 2. Build up your capacity to learn DBMS advanced features 3. Develop your competence in enhancing database models using distributed databases 4. Build up your capacity to implement and maintain an efficient database system using emerging trends. Course Objectives Upon completion of the course, you should be able to: 1. Describe the basic concepts of Relational Database Design 2. Explain Database implementation and tools 3. Describe SQL and Database System catalog. 4. Describe the process of DB Query processing and evaluation. 5. Discuss the concepts of transaction management. 6. Explain the Database Security and Authorization. 7. Describe the design of Distributed Databases. 8. Know how to design with DB and XML. 9. Describe the basic concept of Data warehousing and Data mining 10. Discuss the emerging Database Models Technologies and Applications Working through this Course We designed this course in a systematic way, so you need to work through it from Module one, Unit 1 through to Module four, Unit 3. This will enable you appreciate the course better. Course Materials Basically, we made use of textbooks and online materials. You are expected to I, search for more literature and web references for further understanding. Each unit has references and web references that were used to develop them. Page vi

7 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Online Materials Feel free to refer to the web sites provided for all the online reference materials required in this course. The website is designed to integrate with the print-based course materials. The structure follows the structure of the units and all the reading and activity numbers are the same in both media. Study Units Course Guide Module 1: Database Design and Implemental Unit 1: Relational Database Design Unit 2: Database Implementation & Tools Unit 3: Advance SQL Unit 4: Database System Catalog Module 2: DBMS Advance Features Unit 1: Query Processing & Evaluation Unit 2: Transaction Management and Recovery Unit 3: Database Security & Authorization Module 3: Distributed Databases Unit 1: Enhanced Database Models Unit 2: Object Oriented Database Unit 3: Database and XML Unit 4: Introduction To Data Warehousing Unit 5: Introduction to Data Mining Module 4: Emerging Trends and Example of DBMS Architecture Unit 1: Emerging Database Models Page vii

8 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Unit 2: Technologies and Applications Unit 3 PostgreSQL & Oracle Module one describes Database Design and Implementation. Module Two explains the DBMS advanced features. Module Three discusses the Distributed Database. Module Four discusses Emerging trends in DBMS including technologies and applications. Equipment In order to get the most from this course, it is essential that you make use of a computer system which has internet access. Recommended System Specifications: Processor 2.0 GHZ Intel compatible processor 1GB RAM 80 GB hard drive with 5 GB free disk CD-RW drive. 3.5" Floppy Disk Drive TCP/IP (installed) Operating System Windows XP Professional (Service Pack 2) Microsoft office 2007 Norton Antivirus Monitor* 19-inch 1024 X 768 Resolution 16-bit high color *Non Standard resolutions (for example, some laptops) are not supported. DBMS Tools ORACLE PostgreSQL Hardware Open Serial Port (for scanner) 120W Speakers Mouse + pad Page viii

9 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Windows keyboard Laser printer Hardware is constantly changing and improving, causing older technology to become obsolete. An investment in newer, more efficient technology will more than pay for itself in improved performance results. If your system does not meet the recommended specifications, you may experience considerably slower processing when working in the application. Systems that exceed the recommended specifications will provide better handling of database files and faster processing time, thereby significantly increasing your productivity. Assessment The course, Advanced Database Management Systems entails attending a two-hour final examination which contributes 50% to your final grading. The final examination covers materials from all parts of the course with a style similar to the Tutor- marked assignments. The examination aims at testing your ability to apply the knowledge you have learned throughout the course, rather than your ability to memorize the materials. In preparing for the examination, it is essential that you receive the activities and Tutor-marked assignments you have completed in each unit. The other 50% will account for all the TMA s at the end of each unit. Tutor-Marked Assignment About 20 hours of tutorials will be provided in support of this course. You will be notified of the dates, time and location for these tutorials, together with the name and phone number of your tutor as soon as you are allotted a tutorial group. Your tutor will mark and comment on your assignments, keep a close watch on your progress and on any difficulties you might encounter and provide assistance to you during the course. You must mail your TMAs to your tutor well before the due date (at least two working days are required). They will be marked by your tutor and returned to you as soon as possible. Do not hesitate to contact your tutor by phone, if you need help. Page ix

10 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM The following might be circumstances in which you would find help necessary. You can also contact your tutor if: you do not understand any part of the study units or the assigned readings you have difficulty with the TMAs you have a question or problem with your tutor s comments on an assignment or with the grading of an assignment You should try your best to attend tutorials, since it is the only opportunity to have an interaction with your tutor and to ask questions which are answered instantly. You can raise any problem encountered in the course of your study. To gain maximum benefit from the course tutorials, you are advised to prepare a list of questions before attending the tutorial. You will learn a lot from participating in discussions actively. Course Overview This section proposes the number of weeks that you are expected to spend on the three modules comprising of 30 units and the assignments that follow each of the unit. We recommend that each unit with its associated TMA is completed in one week, bringing your study period to a maximum of 30 weeks. How to Get the Most from this Course In order for you to learn various concepts in this course, it is essential to practice. Independent activities and case activities which are based on a particular scenario are presented in the units. The activities include open questions to promote discussion on the relevant topics, questions with standard answers and program demonstrations on the concepts. You may try to delve into each unit adopting the following steps: 1. Read the study unit 2. Read the textbook, printed or online references 3. Perform the activities 4. Participate in group discussions 5. Complete the tutor-marked assignments 6. Participate in online discussions This course makes intensive use of materials on the world-wide web. Page x

11 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Specific web address will be given for your reference. There are also optional readings in the units. You may wish to read these to extend your knowledge beyond the required materials. They will not be assessed. Summary The course, Advanced Database Management Systems is intended to develop your understanding of the basic concepts of database systems, thus enabling you acquire skills in designing and implementing Database Management Systems. This course also provides you with practical knowledge and hands-on experience in implementing and maintaining a system. We hope that you will find the course enlightening and that you will find it both interesting and useful. In the longer term, we hope you will get acquainted with the National Open University of Nigeria and we wish you every success in your future. Page xi

12 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM ADVANCED DATABASE MANAGEMENT SYSTEM MAIN COURSE Course Developer/Writer Dr. Olusegun Folorunso Department of Computer Science University of Agriculture Abeokuta Programme Leader Prof. Afolabi Adebanjo National Open University of Nigeria Course Coordinator National Open University of Nigeria NATIONAL OPEN UNIVERSITY OF NIGERIA Page xii

13 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM National Open University of Nigeria Headquarters 14/16 Ahmadu Bello Way Victoria Island Lagos Abuja Office No. 5 Dar es Salaam Street Off Aminu Kano Crescent Wuse II, Abuja Nigeria centralinfo@nou.edu.ng URL: Published by National Open University of Nigeria Printed ISBN: XXX-XXX-XXX-X All Rights Reserved Page xiii

14 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM CONTENTS PAGE MODULE 1: Database Design and Implementation Unit 1: Relational Database Design. 1.0 Introduction Objectives What is Relational Database? Relational Database Model Concept Relational Constraints and Relational Database Schemas Update operations and Dealing with Constraint Violations Relational Database Design The Entity Relational (ER) model An Illustration of a Company Database Application Entity Types, Entity Set, Attributes and keys Entity Types, Entity Set, Key and Value Set Pitfalls in a Relational Database Design Normalization Conclusion Summary Tutor Marked Assignment Further Reading. 59 Page xiv

15 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Unit 2: Database Implementation 2.0. Introduction Objectives Conceptual Design Information Sources and Users E-R Model Verification Logical Design Physical Design Implementation Database Creation Database Loading and Conversion System Procedures Testing and Evaluation Performance Measures Security Measures Operations Conclusion Summary Tutor Marked Assignment Further Readings 79 Unit 3: Advanced SQL Introduction Objectives.. 80 Page xv

16 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 3.2. What is SQL? Using SQL on a Relational Database SQL Statements Conclusion Summary Tutor Marked Assignment (TMA) Further Reading 109 Unit 4: Database System Catalogue 4.0. Introduction Objectives What is Database System Catalogue? Conclusion Summary Tutor Marked Assignment (TMA) Further Readings Module 2: Advanced Features and DBMS Unit 1: Query Processing & Evaluation 1.0. Introduction Objectives Query Interpretation Equivalence of Expressions Selection Operation 113 Page xvi

17 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Natural Join Operations Projection Operations Estimation of Query-Processing Costs Estimation Of Costs of Access Using Indices Join Strategies Simple Iteration Block-Oriented Iteration Merge-Join Use of an Index Three-Way Join Structure of Query Optimizer Conclusion Summary Tutor-Marked Assignment (TMA) Further Readings Unit 2: Transaction Management & Recovery 2.0. Introduction Objectives What is a Transaction? Transaction Properties Transaction Management with SQL The Transaction Log Types of Transaction Log Records Page xvii

18 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 2.3. Concurrency Control Concurrency control with Locking Methods Types of Locks Two-Phase Locking to Ensure Serializablility Deadlocks Concurrency Control with Time Stamping Methods Concurrency Control with Optimistic Methods Optimistic Concurrency Control phases Database Recovery Management Conclusion Summary Tutor-Marked Assignment (TMA) Further Readings Unit 3: Database Security &Authorization 3.0. Introduction Objectives Security and Integrity Violations Authorization & Views Integrity Constraints Encryption Statistical Databases Conclusion Summary Tutor-Marked Assignment (TMA). 149 Page xviii

19 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Further Readings. 149 Module 3: Distributed Databases Unit 1: Enhanced Database Model 1.0. Introduction Objectives Distributed Databases Structure of Distributed Databases Trade-offs in Distributing the database Advantages of Data Distribution Disadvantages of Data Distribution Design of Distributed Databases Data Replication Data Fragmentation Data Replication and Fragmentation Transparently and Autonomy Naming and local Autonomy Replication and Fragmentation Transparency Location Transparency Complete Naming Scheme Transparency and Update to Replicated Data Distributed Query Processing Replication and Fragmentation 163 Page xix

20 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Simple Join Processing Join Strategies Semijoin Strategies Recovery in Distributed Systems System Structure Robustness Commit Protocols Concurrency Control Locking Protocols Time Stamping Deadlock Handling Centralized Approach Fully Distributed Approach Coordinator Selection Backup Coordinators Election Algorithms Conclusion Summary TMA Further readings. 183 Unit 2: Object Orientated Database 2.0. Introduction Objectives Features of an Object-Orientated DBMS. 184 Page xx

21 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 2.3. Object-Oriented Database Design How OO Concept has Influenced the Relational Model Conclusion Summary TMA Further Readings 190 Unit 3: Database and XML 3.0 Introduction Objectives Define the Purpose of XML XML Trees XML Syntax Rules XML Elements XML Naming Rules XML Attributes Conclusion Summary TMA Further Reading Unit 4: Introduction to Data Warehousing 4.0 Introduction Page xxi

22 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 4.1 Objective What is Data Warehousing? Data Warehouse Architectures Data Warehouse Architecture (Basic) Data Warehouse Architecture (With a Staging Area) Data Warehouse Architecture (With a Staging Area and Data Mart) Logical Versus Physical Design in Data Warehouse Data Warehousing Schema Data Warehousing Objects Fact Tables Dimension Tables Summary Conclusion TMA Further Readings 220 Unit 5: Introduction to Data Mining 5.0. Introduction Objectives Data Mining Uses Data Mining Functions Data Mining Technologies Summary. 225 Page xxii

23 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 5.6. Conclusion TMA Further Readings. 226 Module 4: Emerging Trends and Examples of DBMS Architecture Unit 1: Emerging Database Models 1.0. Introduction Objectives Limitations of Conventional Databases What is Multimedia Database? Temporal Databases: Modelling Temporal data: Temporal SQL Introduction Temporal Data Semantics Temporal Data Models and Query Languages Temporal DBMS Implementation Query Processing Implementing Algebraic Operators Indexing Temporal Data Outlook Conclusion Summary Tutor Marked Assignment Further Reading. 242 Page xxiii

24 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Unit 2: The Major Application Domains 2.0 Introduction Objectives Database on the World Wide Web GIS Application Specific GIS Data Operations An Example of A GIS: Arc-Info GENOME Data Management Biological Sciences and Genetics Characteristics of Biological Data The Human GENOME Project and Existing Biological Databases Digital Libraries Conclusion Summary Further Reading. 252 Unit 3 PostgreSQL 3.0 Introdection Objectives What is PostgreSQL PostgreSQL and other DBMS s Open Source Software Conclusion Summary. 259 Page xxiv

25 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM 3.7 Tutor Marked Assignment Further Reading MODULE 1: DATABASE DESIGN & IMPLEMENTATION UNIT 1: RELATIONAL DATABASE DESIGN 1.0 INTRODUCTION This unit discusses extensively on relational data model. The model was first introduced by Ted Codd of IBM research in 1970 in a classic paper, and attracted immediate attention due to its simplicity and mathematical foundations. The model uses the concept of mathematical relation, which looks somewhat like a table of values, as its basic building blocks, and has its theoretical basics in set theory and first order predicate logic. In this unit, we will discuss the basic characteristics for the relational model and its normalization processes. The model has been implemented in a large number of commercial systems over the last years. 1.1 OBJECTIVES. To understand the relational database model. To understand the concepts of normalization in database design 1.2 WHAT IS RELATIONAL DATABASE? A relational database is a database that groups data using common attributes found in the data set. The resulting "clumps" of organized data are much easier for people to understand. For example, a data set containing all the real estate transactions in a town can be grouped by the year the transaction occurred; or it can be grouped by the sale price of the transaction; or it can be grouped by the buyer's last name; and so on. Such a grouping uses the relational model (a technical term for this is schema). Hence such a database is called a "relational database. The software used to do this grouping is called a relational database management system. The term "relational database" often refers to this type of software. Relational databases are currently the predominant choice in storing financial records, manufacturing and logistical information, personnel data and much more Relational Database Model Concept. Page xxv

26 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM The relational model represents the database as a collection of relations. Informally, each relation resembles a table of values or, to some extent a flat file of record. For example, the university database of files that was shown earlier is considered to be in the relational model. However, there are important differences between relations and files, as we shall soon see. When a relation is thought of as a table of values, each row in the table represents a collection of related data values. In the relational model, each row in the table represents a fact that typically corresponds to a real world entity or relationship. The table name and column names are used to help in interpreting the meaning of the row which represents facts about a particular student entity. The column names Name, Student, Number, Class, Major specify how to interpret the data values in each row, based on the column each value is in. All values in a column are of the same data type. In the formal relational model terminology, a row is called a tuple, a column header is called an attribute, and the table is called a relation. The data type describing the types of values that can appear in each column is called a domain. We now define these terms domain, tuple, attribute, and relation more precisely. Page xxvi Domains, Attributes, Tuples, & Relations A domain D is a set of atomic values. By atomic we mean that each value in the domain is indivisible as far as the relational model is concerned. A common method of specifying a domain is to specify a data type from which the data values forming the domain are drawn. It is also useful to specify a name for the domain, to help in interpreting its values. Some examples of domains follow: GSM phone numbers: The set of 11 digit numbers valid in the Nigeria. E.g Local phone numbers: The set of 6 digit phone numbers valid within a particular area code in Nigeria. E.g Names: The set of names of persons. Grade point averages: Possible values of computed grade point averages; each must be a real (floating point) number between 0 and 5 Employee ages: Possible ages of employees of a company, each must be a value between 18 and 65 years old Academic department names: The set of academic department names, such a computer science, economics and physics, in a university.

27 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Academic department codes: The set of academic department codes, such as CSC, ECON, and PHYS, in a university. The preceding are called logical definitions of domains. A data type of format is also specified on each domain. For example, the data type for the domain GSM phone numbers can be declared as a character string of the form (dddd)dddd ddd, e.g where each d is a data type. For Employee ages, the data type is an integer number between 18 and 65, for Academic department names, the data type is the set of all character strings that represent valid department names. A domain is thus given a name, data type, and format. Additional information for interpreting the values of a domain can also be given. For example, a numeric domain such as person weights should have the units of measurement kilograms. A relations schema, denoted by, is made up of a relation name R and a list of attributes. Each attributes is the name of a role played by some domain in the relation schema. is called the domain of, and is denoted by. A relation schema is used to describe a relation is called the name of this relations. The degree of a relation is the number of attributes of its relation schema. An example of a relation schema for a relation of degree 7, which describes university students, is the following: Table 1.0 The attributes and tuples of a relation STUDENT Page xxvii

28 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM STUDENT (Name, SSN, HomePhone, Address, OfficePhone, Age, GPA) Attributes Relation Name Student Name Ssn Home phone Address Office Phone Age Gpa Olumide Enoch , Kings way Rd. null Adamson Femi , Allen Avenue null Tuples Yisa Ojo null 34,Obantoko Road Charles Olumo Grammar School Johnson Paul , Paul Job Road null For this relation schema, STUDENT is the name of the relation, which has seven attributes. We can specify the following previously defined domains for some of the attributes of the STUDENT relations: Page xxviii

29 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM A relation or relation state of the relation schema also denoted by, is a set of n tuples. Each n tuple t is an ordered list of n values, where each value, is an element of or is a special null value. The value in tuple t, which correspondence to the attribute is referred to as. The terms relation intension for the schema and relation extension for a relation state are also commonly used. Table 1.0 shows an example of a STUDENT relation, which corresponds to the STUDENT schema specified above. Each tuple in the relation represents a particular student entity. We display the relation as a table, where each tuple is shown as a row and each attribute corresponds to a column header indicating a role or interpretation of the values in that column. Null values represent attributes whose values are unknown or do not exist for some individual STUDENT tuples. Page xxix

30 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM The above definitions of a relation can be restated as follows. A relation is a mathematical relation of degree n on the domains, which is a subset of the Cartesian product of the domains that define : The Cartesian product specifies all possible combinations of values from the underlying domains. Hence, if we denote the number of values or cardinality of a domain D by D, and assume that all domains are finite, the total number of tuples in the Cartesian product is: Characteristics Of Relations The earlier definition of relations implies certain characteristic that makes a relation different from a file or a table. We now discuss some of these characters. Ordering of Tuples in a Relation: A relation is defined as a set of tuples. Mathematically, elements of a set have no order among them; hence tuples in a relation do not have any particular order. However in a file, records are graphically stored on disk so there always is an order among the records. This ordering indicates first, second, and last records in the file. Similarly, when we display a relation as a table, the rows are displayed in a certain order. Page xxx

31 CIT 844 ADVANCED DATABASE MANAGEMENT SYSTEM Tuple ordering is no part of a relation definition, because a relation attempts to represent facts at a logical or abstract level. Many logical orders can be specified on a relation, for example, tuples in this STUDENT relation in Table 1.0 could be logically ordered by values of Name, SSN, Age, or some other attribute. The definition of a relation does not specify any order, there is no preference for one logical ordering over another. Hence, the relation displayed in Table 1.1 is considered identical to the one shown in Table 1.0. When a relation is implemented as a file, a physical ordering may be specified on the records of the file. Ordering of values within a tuple, and an alternative definition of a relation: According to the preceding definition of a relation, an n tuple is an ordered list of n values, so the ordering of values in a tuple and hence of attributes in a relation schema. An alternative definition of relation can be given, making the ordering of value in a tuple unnecessary. In this definition, a relation schema R = (A 1,A 2,..., A n ) is a set of attributes and relation is a finite set of mappings r = [t 1,t 2,,t m ], where each tuple is a mapping from R to D, and D is the union of attribute domains; that is,. Table 1.1. The relation STUDENT from Table 1.0, with a different order of tuples. Student Name Ssn Home phone Address Office Phone Age Gpa Olumide Enoch , Kings way Rd. Null Adamson Femi , Allen Avenue null Tuples Yisa Ojo Null 34,Obantoko Road Charles Olumo , Grammar School Johnson Paul , Paul Job Road null In this definition, t(a 1 ) must be in dom(a 1 ) for called a tuple. for each mapping t in r. Each mapping is t=<(name; Yisa Ojo), (SSN, ), (HomePhone, null), (Address, 34 Obantoko Road). (Office Phone, ), (GPA, 2.89), (HomePhone, null) > ), (GPA, 2.89), (HomePhone; null)> Page xxxi Figure 1.0 Two identical tuples when order of attributes and values in not part of the definition of relation.

32 According to this definition, a tuple can be considered as a set of (<attribute>, <value>) pairs, where each pair gives the value of the mapping form an attributes A 1 to a value v 1 from dom(a 1 ). The ordering of attributes is not important, because the attribute name appear with its value. By this definition, the two tuples shown in figure 1.0 are identical. This makes sense at an abstract or logical level, since they are really in no reason to prefer having one attribute value appear before another in a tuple. When a relation is sense at an abstracts are physically ordered as fields within a records. We will use the first definition of relation, where the attributes and the values within tuples are ordered, because it simplifies much of the notation. However, the alternative definition given here is more general. Values in the Tuples: Each value in a tuple is an atomic value; that is, it is not divisible into components within the framework of the basic relational model. Hence, composite and multi valued attributes are not allowed. Much of the theory behind the relational model was developed with this assumption in mind, which is called the first normal form assumption. Multi valued attributes must be represented by separate relations, and composite attributes are represented only by their simple component attributes. Recent research in the relational model attempt to remove these restrictions by using the concepts of no first normal form or nested relations. Interpretation of a Relation: The relation schema can be interpreted as a declaration or a type of assertion. For example, the schema of the STUDENT relation of Table 1.0 asserts that, in general, student entity has a Name, SSN, Home phone, Address, Office phone, Age, and GPA. Each tuple in the relation can then be interpreted as a fact or a particular instance of the assertion. For example, the first tuple in Table 1.0 asserts the fact that there is a STUDENT whose name is Olutunde Enoch, SSN is , Age in 19 and so on. Notice that some relations may represent facts about entities, whereas other relations may represent fact about relationship. For example, a relation schema MAJORS (Student SSN, Department Code) asserts that students major in academic department, a tuple in this relation relates a student to his or her major department. Hence, the relational model represents fact about both entities and relationship uniformly as relations Relational Constraints And Relational Database Schemas In this unit, we discuss the various restrictions on data that can be specified on relational database schema in the form of constraints. These include domain constraints, key strains, called data dependencies (which include functional dependencies and multi valued dependencies), are used mainly for database design by normalization. Page xxxii

33 Domain constraints Domain constraints specify that the value of each attribute A must be an atomic value from the domain dom(a). We have already discussed the ways in which domains can be specified above. The data types associated with domains typically include standard numeric data type for integers (such as short integer, long inter) and real number (float and double precision float). Character, fixed length strings, and variable length strings are also available, as are date, time, timestamp, and money data types. A sub range of values from a data type or an enumerated data type may describe other possible domains where all possible values are explicitly listed. Key constraints and constraints on null A relation is defined as a set of tuples. By definition, all elements of a set are distinct, hence, all tuples in relation must also be distinct. This means that no two tuples can have the same combination of values for all their attributes. Usually, there are other subsets of attributes of a relation schema R with the property that no two tuples in any relation state r of R should have the same combination of values for these attributes. Suppose that we denote one such subset of attributes by SK; then for any two distinct tuples t 1 and t 2 in a relation sate r or R, we have the constraint that t 1 [SK] 1 t 2 [SK]. Any such set attributes SK is called a superkey of the relation schema R. A superkey SK specifies a uniqueness constraint that no two distinct tuples in a state r of R can have the same value for SK. Every relation has at least one default superkey the set of all its attributes. A superkey can have redundant attributes, however, so a more useful concept is that of a key, which has no redundancy. A key K of a relation schema R is a superkey of R with the additional property that removing any attribute A from K leaves a set of attributes K that is not a superkey of R. Hence, a key is a minimal superkey that is, a superkey from which we cannot remove any attributes and still have the uniqueness constraint hold. For example, consider the STUDENT relation of Table 1.0 the attribute set (SSN) is a key of STUDENT because no two student tuples can have the same value for SSN. Any set of attributes that include SSN for example, (SSN, Name, Age) is a superkey. However, the superkey (SS, Name, Age) is not a key for STUDENT, because removing Name or Age of both from the set still leaves us with a superkey. The value of key attribute can be used to identify uniquely each tuples in the relation. For example, the SSN value identifies uniquely the tuples corresponding to Benjamin Page xxxiii

34 Bayer in the STUDENT relation. Notice that a set of attributes constituting a key is a property of the relation schema; it is a constraint that should hold on every relation state of the schema. A key is determined from the meaning of the attributes, and the property is time invariant; it must continue to hold when we insert new tuples in the relation. For example, we cannot and should not designate the Name attribute of the student relation in Table 1.0 as a key, because there is no guarantee that two student with identical names will never exist. In general, a relation schema may have more than one key. In this case, each of the keys is called a candidate key. For example, the CAR relation in Table 1.2 has candidate keys: License Number and Engine Serial Number. It is common to designate the candidate key as the primary key of the relation. This is the key whose value is used to identify tuples in the relation. We use the convention that the attributes that form the primary key of a relation schema are underlined, as shown in Table 1.2. Notice that, when a relation schema has several candidate key, the choice of one to become primary key is arbitrary; however, it is usually better to choose a primary key with a single attribute or a small number of attributes. Another constraint on attributes specifies whether null values are or are not permitted. For example, if every student tuple must have a valid non null value for the Name attribute, then Name of student is constrained to be NOT null. Table 1.2 The CAR relation wish two candidate key: license Number and Engine Serial number. CAR License Number Engine Serial Number Make Model Year AB 419 KJA A69352 BMW 800 series 96 XA 893 AKM B43696 Bluebird Datsun 99 AAB383 WDE X83554 Datsun Toyota 95 LA 245 YYY C43742 Golf Volkswagen 93 DE382 MNA Y82935 Mercedes 190 D 98 FE 107 EKY U Toyota Toyota 98 Relational Databases And Relational Database Schemas So far, we have discussed single relations and single relation schemas. A relational database usually contains may relations, with tuples relations that are related in various ways. In these units we define a relational database and a relational database schema is a set of relation schema database state DB of and a set of integrity constraints IC. A relational Page xxxiv

35 a set of relation states such that each is a state of and such that the relation states satisfy the integrity constraints specified in IC. Figure 1.1 shows a relational database schema EMPLOYEE DEPARTMENT DEPT LOCATIONS FNAME MINIT LNAME SSN BDATE ADDRESS SEX SALARY SUP DNO DNAME DNUMBER MGRSSN MGRSTARTDATE DNUMBER DLOCATION PROJECT WORK ON DEPENDENT PNAME PNUMBER PLOCATION DNUM ESSN PNO HOURS ESSN DEPENDENT NAME SEX BDATE RELATIONSHIP Figure 1.1. Schema diagram for the company relational database schema; the primary keys are underlined Update Operations And Dealing With Constraint Violations The operations of the relational model can be categorized into retrievals and updates. The relational algebra operations, which can be use to specify retrievals, are discussed in details in a later unit. In this unit, we concentrate on the update operations. There are three basic update operations on relations (1) insert, (2) delete and (3) modify. Insert is used to insert a new tuple or tuples in relation: Delete is used to delete tuple; and Update (or modify) is used to change the values of some attribute in existing tuple. Whenever update operations are applied, the integrity constraints specified on the relational database schema should not be violated. In this unit we discuss the type of constraints that may be violated by each update operation and the types of actions that may be taken if an update does cause a violation. THE INSERT OPERATION The insert operation provides a list of attribute values for a new tuple that is to be inserted into a relation R. Insertion can violate any of the four types of constraints discussed in the previous Page xxxv

36 unit. Domain constraints can be violated if an attribute value is given that does not appear in the corresponding domain. Key constraints can be violating if a key value in the new tuple t already exists in another tuple in the relation. Entity integrity can be violated if the primary key of the new tuple t is null. Referential integrity can be violated if the value of any foreign key in t refers to a tuple that does not exists in the referenced relation. Here are some example to illustrate this discussion. 1. Insert < Cecilia, F, Komolafe, null, , 6357 Adetutu, Lane, Abeokuta, OG, F 28000, null 4> into EMPLOYEE. This insertion violates the entity integrity constraint (null for the primary key SSN), so it is rejected. 2. Insert < Alice, J, Zachariah, , , 6357 Adetutu Lane, Abeokuta OG, F,28000, , 4> into EMPLOYEE. This insertion violates the key constraint because another tuple with the same SSN value already exists in the EMPLOYEE relation, and so it is rejected. 3. Insert < Folorunso, O, Olusegun, , Obasanjo Aremu OG, F,28000, , 7 > into EMPLOYEE. This insertion violates the referential integrity constraint specified on KNO because no DEPARTMENT tuples exists with DNUMBERS = Insert < Folorunso, O, Olusegun, , , 6357 Obasanjo Lane, Aremu, OG, F, 28000, null 4 > into EMPLOYEE. This insertion satisfies all constraints, so it is acceptable. If an insertion violates one or more constraints, the default option is to reject the insertion. In this case, it would be useful if the DBMS could explain to the user why the insertion was rejected. Another option is to attempt to correct the reason for rejecting the insertion, but this is typically not used for violations caused by insert; rather, it is used more often in correcting violations for Delete and Update. The following examples illustrate how this option may be used for insert violations. In operation 1 above, the DBMS could ask the user to provide a value for SSN and could accept the insertion if a valid SSN value was provided. In operation 3, the DBMS could either, ask the user change the value of DNO to some valid values (or set it to null), or it could ask the user to insert a DEPARTMENT tuple with DNUMBER =7 and could accept the insertion only after such an operation was accepted. Notice that in the latter case the insertion can cascade back to the EMPLOYEE relation if the user attempt to insert a tuple for department 7 with a value off MGRSS that does not exist in the EMPLOYEE relation. THE DELETE OPERATION The Delete operation can violate only referential integrity; If the foreign keys reference the tuple being deleted from other tuples in the database. To specify deletion, a condition on the attributes of the relation select the tuples (or tuples) to be deleted. Here are some examples. 1. Delete the WORKS ON tuples with ESS = and KPNO = 10. This deletion is acceptable. 2. Delete the employee tuple with SSN = This deletion is not acceptable, because tuples in works on refer to this tuple. Hence, if the tuple is deleted, referential integrity violation will result. Page xxxvi

37 3. Delete the employee tuple with SSN = This deletion will result in even worse referential integrity violations, because the tuple involved is referenced by tuples from the employee, department, works on, and department relations. Three options are available if a deletion operation causes a violation,. The first option is to reject the deletion. The second opting is to attempt to cascade ( or propagate) the deletion by deleting tuples that reference the tuple that is being deleted. For example in operation 2, the DBMS could automatically delete the offending tuples form works on with ESSN= A third option is a to modify the referencing attribute that cause the valid tuple. Notice that, if a referencing attribute that cause a violation is part of the primary key, it cannot be set to null otherwise, it would violate entity integrity. Combinations of these three options are also possible. For example, to avoid having operation 3 cause a violation, DBMS may automatically delete all tuples from works on and department with ESSN= Tuples in employee with super SSN = and changed to other valid values or to null. Although it may makes sense to delete automatically the works on and department tuples that refer to an employee tuples, it may not make sense to delete other employee tuples or a department tuple. In general, when a referential integrity constraint is specified, the DBMS should allow the user to specify which of the three options applies in case of a violation of the constraint. THE UPDATE OPERATION The update operation is used to change the values of one or more attributes in a tuple (or tuples) of some relation r. It is necessary to specify a condition on the attribute of the relation to select the tuple (or tuples) to be modified. Here are some examples. 1. Update the salary of the Employee tuple with SSN to Acceptable 2. Update the DNO of the employee tuple with SSN = to 1 Acceptable. 3. Update the DNO of the employee tuple with SSN = to 7 Unacceptable, because it violates referential integrity. 4. Update the SSN of the employee tuple with SSN = to Unacceptable, because it violates primary key and referential integrity constraints. Updating an attribute that is neither a primary key nor a foreign key usually cause no problems. The DBMS need only check to confirm that the new values as of the correct data type and domain. Modifying a primary key value is similar to deleting one tuple and the issues discussed earlier under both insert and delete comes into play. If a foreign key attribute is modified, the Page xxxvii

38 DBMS must make sure that the new value refers to an existing tuple in the referenced relation (or is null) Basic Relational Algebra Operations In addition to defining the database structure and constraints, a data model must include a set of operations to manipulate the data. A basic set of relational model operations constitutes the relational algebra. These operations enable the user to specify basic retrieval requests. The result of a retrieval is a new relation, which may have been formed from one or more relations. The algebra operations thus produce new relations, which can be further manipulated using operations of the same algebra. A sequence of relational algebra operations forms a relation algebra expression, whose result will also be a relation. The relational algebra operations are usually divided into two groups. One group includes set operations from mathematical set theory, these are applicable because each relation is defined to be a set of tuples. Set operations include UNION, INTERSECTION, SET DIFFERENCE, and CARTESIAN PRODUCT. The other group consists of operations developed specifically for relational database; these include select, project, and join among others. The select and project operations are discussed first, because they are the simplest, then we discuss set operations. Finally, we discuss join and other complex operations. The relational database shown in Table 1.3 is used for our examples. Some common database requests cannot be performed with the basic relational algebra operations, so additional operations are needed to express these requests. Some of these additional operations are described later. THE SELECT OPERATIONS The select operation is used to select a subset of the tuple from a relation that satisfy a selection condition. One can consider the select operation to be a filter that keeps only those tuples that satisfy a qualifying condition. For example, to select the employee tuples whose departments is 4, or those whose salary is greater than N30,000, we can individually specify each of these two conditions with a select operation as follows: In general, the SELECT operation is denoted by Where the symbol Page xxxviii

39 (sigma) is used to denote the SELECT operator, and the selection condition is a Boolean expression specified on the attributes of relation. Notice that is generally a relational algebra expression whose result is a relation; the simplest expression is just the name of database relation. The relation resulting from the select operations has the same attributes as. The Boolean expression specified in <selection condition> is made up of number of clauses of the form <attribute name> <comparison op><constant value> or <attribute name><comparison op><attribute name> where <attribute name> is the name of an attribute of is normally one of the operators {=<,>,e, and <constant value> is a constant value from the attribute domain. Clauses can be arbitrarily connected by the Boolean operators AND OR and NOT or form a general selection. For example, to select the tuples for all employees who either work in department 4 and make over N25,000 per year, or work in department 5 and make over N30,0000 we can specify the following select operation: Table 1.3 Result of select and project operations. (a) FNAME MINT LNAME SSN BDATE ADD SEX SAL SUPERSSN DNO Akin G Adeosun Ayo T Adeluola Daniel O Olayinka Fontren, Housing OG 291,Itoko, Abeokuta 34,Offmobil Road F M M (b) LNAME FNAME SALARY Adeosun Akin Page xxxix

Relational Schema. CS 4700/6700 A Sample of Small Database Design Using Microsoft Access

Relational Schema. CS 4700/6700 A Sample of Small Database Design Using Microsoft Access CS 4700/6700 A Sample of Small Database Design Using Microsoft Access Company relational database schema from the textbook (Fundamentals of Database systems, 6 th Edition, by Ramez Elmasri and Shamkant

More information

CSC 443 Data Base Management Systems. Basic SQL

CSC 443 Data Base Management Systems. Basic SQL CSC 443 Data Base Management Systems Lecture 6 SQL As A Data Definition Language Basic SQL SQL language Considered one of the major reasons for the commercial success of relational databases SQL Structured

More information

Business Administration of Windchill PDMLink 10.0

Business Administration of Windchill PDMLink 10.0 Business Administration of Windchill PDMLink 10.0 Overview Course Code Course Length TRN-3160-T 3 Days After completing this course, you will be well prepared to set up and manage a basic Windchill PDMLink

More information

How To Create A Table In Sql 2.5.2.2 (Ahem)

How To Create A Table In Sql 2.5.2.2 (Ahem) Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or

More information

Part A: Data Definition Language (DDL) Schema and Catalog CREAT TABLE. Referential Triggered Actions. CSC 742 Database Management Systems

Part A: Data Definition Language (DDL) Schema and Catalog CREAT TABLE. Referential Triggered Actions. CSC 742 Database Management Systems CSC 74 Database Management Systems Topic #0: SQL Part A: Data Definition Language (DDL) Spring 00 CSC 74: DBMS by Dr. Peng Ning Spring 00 CSC 74: DBMS by Dr. Peng Ning Schema and Catalog Schema A collection

More information

Windchill Service Information Manager 10.2. Curriculum Guide

Windchill Service Information Manager 10.2. Curriculum Guide Windchill Service Information Manager 10.2 Curriculum Guide Live Classroom Curriculum Guide Introduction to Windchill Service Information Manager 10.2 Building Information Structures with Windchill Service

More information

Chapter 8. SQL-99: SchemaDefinition, Constraints, and Queries and Views

Chapter 8. SQL-99: SchemaDefinition, Constraints, and Queries and Views Chapter 8 SQL-99: SchemaDefinition, Constraints, and Queries and Views Data Definition, Constraints, and Schema Changes Used to CREATE, DROP, and ALTER the descriptions of the tables (relations) of a database

More information

3. Relational Model and Relational Algebra

3. Relational Model and Relational Algebra ECS-165A WQ 11 36 3. Relational Model and Relational Algebra Contents Fundamental Concepts of the Relational Model Integrity Constraints Translation ER schema Relational Database Schema Relational Algebra

More information

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals 1 Properties of a Database 1 The Database Management System (DBMS) 2 Layers of Data Abstraction 3 Physical Data Independence 5 Logical

More information

The Relational Algebra

The Relational Algebra The Relational Algebra Relational set operators: The data in relational tables are of limited value unless the data can be manipulated to generate useful information. Relational Algebra defines the theoretical

More information

How To Manage Data In A Database System

How To Manage Data In A Database System Database Systems Session 2 Main Theme Relational Data Model & Relational Database Constraints Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical

More information

Introduction to Windchill PDMLink 10.0 for Heavy Users

Introduction to Windchill PDMLink 10.0 for Heavy Users Introduction to Windchill PDMLink 10.0 for Heavy Users Overview Course Code Course Length TRN-3146-T 2 Days In this course, you will learn how to complete the day-to-day functions that enable you to create

More information

EECS 647: Introduction to Database Systems

EECS 647: Introduction to Database Systems EECS 647: Introduction to Database Systems Instructor: Luke Huan Spring 2013 Administrative Take home background survey is due this coming Friday The grader of this course is Ms. Xiaoli Li and her email

More information

www.gr8ambitionz.com

www.gr8ambitionz.com Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1

More information

C&A MM Inventory Relieve & Post to Job Cost Installation and Setup Instructions with Process Flow

C&A MM Inventory Relieve & Post to Job Cost Installation and Setup Instructions with Process Flow 4820 8 TH STREET SALEM, OREGON 97301 C&A MM Inventory Relieve & Post to Job Cost Installation and Setup Instructions with Process Flow The general purpose of this program is to relieve parts from inventory

More information

Summary on Chapter 4 Basic SQL

Summary on Chapter 4 Basic SQL Summary on Chapter 4 Basic SQL SQL Features Basic SQL DDL o Includes the CREATE statements o Has a comprehensive set of SQL data types o Can specify key, referential integrity, and other constraints Basic

More information

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1 The Relational Model Ramakrishnan&Gehrke, Chapter 3 CS4320 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase, etc. Legacy systems in older models

More information

Basic Concepts of Database Systems

Basic Concepts of Database Systems CS2501 Topic 1: Basic Concepts 1.1 Basic Concepts of Database Systems Example Uses of Database Systems - account maintenance & access in banking - lending library systems - airline reservation systems

More information

Lecture 6. SQL, Logical DB Design

Lecture 6. SQL, Logical DB Design Lecture 6 SQL, Logical DB Design Relational Query Languages A major strength of the relational model: supports simple, powerful querying of data. Queries can be written intuitively, and the DBMS is responsible

More information

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203.

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : II / III Section : CSE - 1 & 2 Subject Code : CS 6302 Subject Name : Database

More information

Windchill PDMLink 10.2. Curriculum Guide

Windchill PDMLink 10.2. Curriculum Guide Windchill PDMLink 10.2 Curriculum Guide Live Classroom Curriculum Guide Update to Windchill PDMLink 10.2 from Windchill PDMLink 9.0/9.1 for the End User Introduction to Windchill PDMLink 10.2 for Light

More information

The Relational Model. Why Study the Relational Model?

The Relational Model. Why Study the Relational Model? The Relational Model Chapter 3 Instructor: Vladimir Zadorozhny vladimir@sis.pitt.edu Information Science Program School of Information Sciences, University of Pittsburgh 1 Why Study the Relational Model?

More information

Instant SQL Programming

Instant SQL Programming Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

More information

There are five fields or columns, with names and types as shown above.

There are five fields or columns, with names and types as shown above. 3 THE RELATIONAL MODEL Exercise 3.1 Define the following terms: relation schema, relational database schema, domain, attribute, attribute domain, relation instance, relation cardinality, andrelation degree.

More information

Functional Dependency and Normalization for Relational Databases

Functional Dependency and Normalization for Relational Databases Functional Dependency and Normalization for Relational Databases Introduction: Relational database design ultimately produces a set of relations. The implicit goals of the design activity are: information

More information

1. INTRODUCTION TO RDBMS

1. INTRODUCTION TO RDBMS Oracle For Beginners Page: 1 1. INTRODUCTION TO RDBMS What is DBMS? Data Models Relational database management system (RDBMS) Relational Algebra Structured query language (SQL) What Is DBMS? Data is one

More information

Lab Assignment 0. 1. Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL

Lab Assignment 0. 1. Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL SS Chung Lab Assignment 0 1. Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL 1. Creating the COMPANY database schema using SQL (DDL)

More information

Contents. iii. ix xi xi xi xiii xiii xiii xiv xv xvi xvii xix

Contents. iii. ix xi xi xi xiii xiii xiii xiv xv xvi xvii xix What s New in Microsoft Office Project 2003 Getting Help Getting Help with This Book and Its CD-ROM Getting Help with Microsoft Office Project 2003 Using the Book s CD-ROM What s on the CD-ROM System Requirements

More information

The core theory of relational databases. Bibliography

The core theory of relational databases. Bibliography The core theory of relational databases Slide 1 La meilleure pratique... c est une bonne théorie Bibliography M.Levene, G.Loizou, Guided Tour of Relational Databases and Beyond, Springer, 625 pages,1999.

More information

Arbortext Content Manager 10.1. Curriculum Guide

Arbortext Content Manager 10.1. Curriculum Guide Arbortext Content Manager 10.1 Curriculum Guide Live Classroom Curriculum Guide Introduction to Arbortext Content Manager 10.1 Business Administration of Arbortext Content Manager 10.1 Workflow Administration

More information

IT2305 Database Systems I (Compulsory)

IT2305 Database Systems I (Compulsory) Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this

More information

R162-2f-206c. Certification of Continuing Education Course. (1) (a) The division may not award continuing education credit for a course that is

R162-2f-206c. Certification of Continuing Education Course. (1) (a) The division may not award continuing education credit for a course that is R162-2f-206c. Certification of Continuing Education Course. (1) (a) The division may not award continuing education credit for a course that is advertised in Utah to real estate licensees unless the course

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

The Relational Model. Why Study the Relational Model? Relational Database: Definitions The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in

More information

Introduction to Databases

Introduction to Databases Page 1 of 5 Introduction to Databases An introductory example What is a database? Why do we need Database Management Systems? The three levels of data abstraction What is a Database Management System?

More information

Workflow Administration of Windchill 10.2

Workflow Administration of Windchill 10.2 Workflow Administration of Windchill 10.2 Overview Course Code Course Length TRN-4339-T 2 Days In this course, you will learn about Windchill workflow features and how to design, configure, and test workflow

More information

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML? CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency

More information

DATABASE MANAGEMENT SYSTEMS. Question Bank:

DATABASE MANAGEMENT SYSTEMS. Question Bank: DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?

More information

The Relational Data Model and Relational Database Constraints

The Relational Data Model and Relational Database Constraints The Relational Data Model and Relational Database Constraints Chapter Outline Relational Model Concepts Relational Model Constraints and Relational Database Schemas Update Operations and Dealing with Constraint

More information

How To Write A Diagram

How To Write A Diagram Data Model ing Essentials Third Edition Graeme C. Simsion and Graham C. Witt MORGAN KAUFMANN PUBLISHERS AN IMPRINT OF ELSEVIER AMSTERDAM BOSTON LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db book.com for conditions on re use Chapter 1: Introduction Purpose of Database Systems View of Data Database Languages Relational Databases

More information

Contents RELATIONAL DATABASES

Contents RELATIONAL DATABASES Preface xvii Chapter 1 Introduction 1.1 Database-System Applications 1 1.2 Purpose of Database Systems 3 1.3 View of Data 5 1.4 Database Languages 9 1.5 Relational Databases 11 1.6 Database Design 14 1.7

More information

B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered

More information

Part 4: Database Language - SQL

Part 4: Database Language - SQL Part 4: Database Language - SQL Junping Sun Database Systems 4-1 Database Languages and Implementation Data Model Data Model = Data Schema + Database Operations + Constraints Database Languages such as

More information

Foundations of Information Management

Foundations of Information Management Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:

More information

Distributed Databases. Concepts. Why distributed databases? Distributed Databases Basic Concepts

Distributed Databases. Concepts. Why distributed databases? Distributed Databases Basic Concepts Distributed Databases Basic Concepts Distributed Databases Concepts. Advantages and disadvantages of distributed databases. Functions and architecture for a DDBMS. Distributed database design. Levels of

More information

Overview. Introduction to Database Systems. Motivation... Motivation: how do we store lots of data?

Overview. Introduction to Database Systems. Motivation... Motivation: how do we store lots of data? Introduction to Database Systems UVic C SC 370 Overview What is a DBMS? what is a relational DBMS? Why do we need them? How do we represent and store data in a DBMS? How does it support concurrent access

More information

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations 1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/

More information

New York University Computer Science Department Courant Institute of Mathematical Sciences

New York University Computer Science Department Courant Institute of Mathematical Sciences New York University Computer Science Department Courant Institute of Mathematical Sciences Homework #5 Solutions Course Title: Database Systems Instructor: Jean-Claude Franchitti Course Number: CSCI-GA.2433-001

More information

Design and Implementation

Design and Implementation Pro SQL Server 2012 Relational Database Design and Implementation Louis Davidson with Jessica M. Moss Apress- Contents Foreword About the Author About the Technical Reviewer Acknowledgments Introduction

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

More information

DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

More information

IT2304: Database Systems 1 (DBS 1)

IT2304: Database Systems 1 (DBS 1) : Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation

More information

Introduction to SQL: Data Retrieving

Introduction to SQL: Data Retrieving Introduction to SQL: Data Retrieving Ruslan Fomkin Databasdesign för Ingenjörer 1056F Structured Query Language (SQL) History: SEQUEL (Structured English QUery Language), earlier 70 s, IBM Research SQL

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3 The Relational Model Chapter 3 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Informix, Microsoft, Oracle, Sybase,

More information

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model The entity-relationship (E-R) model is a a data model in which information stored

More information

BCA. Database Management System

BCA. Database Management System BCA IV Sem Database Management System Multiple choice questions 1. A Database Management System (DBMS) is A. Collection of interrelated data B. Collection of programs to access data C. Collection of data

More information

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model

CS2Bh: Current Technologies. Introduction to XML and Relational Databases. The Relational Model. The relational model CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 The Relational Model CS2 Spring 2005 (LN6) 1 The relational model Proposed by Codd in 1970. It is the dominant data

More information

Question 1. Relational Data Model [17 marks] Question 2. SQL and Relational Algebra [31 marks]

Question 1. Relational Data Model [17 marks] Question 2. SQL and Relational Algebra [31 marks] EXAMINATIONS 2005 MID-YEAR COMP 302 Database Systems Time allowed: Instructions: 3 Hours Answer all questions. Make sure that your answers are clear and to the point. Write your answers in the spaces provided.

More information

1 File Processing Systems

1 File Processing Systems COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.

More information

2. Basic Relational Data Model

2. Basic Relational Data Model 2. Basic Relational Data Model 2.1 Introduction Basic concepts of information models, their realisation in databases comprising data objects and object relationships, and their management by DBMS s that

More information

Topics. Database Essential Concepts. What s s a Good Database System? Using Database Software. Using Database Software. Types of Database Programs

Topics. Database Essential Concepts. What s s a Good Database System? Using Database Software. Using Database Software. Types of Database Programs Topics Software V:. Database concepts: records, fields, data types. Relational and objectoriented databases. Computer maintenance and operation: storage health and utilities; back-up strategies; keeping

More information

Database. Administration. The Complete. and Procedures. Guide to DBA Practices. AAddison-Wesley. Second Edition. Mullins

Database. Administration. The Complete. and Procedures. Guide to DBA Practices. AAddison-Wesley. Second Edition. Mullins Database Administration The Complete Guide to DBA Practices and Procedures Second Edition Craig S. Mullins AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal

More information

Pro/INTRALINK 10.2. Curriculum Guide

Pro/INTRALINK 10.2. Curriculum Guide Pro/INTRALINK 10.2 Curriculum Guide Live Classroom Curriculum Guide Introduction to Pro/INTRALINK 10.2 Business Administration of Pro/INTRALINK 10.2 System Administration of Windchill 10.2 Introduction

More information

More SQL: Assertions, Views, and Programming Techniques

More SQL: Assertions, Views, and Programming Techniques 9 More SQL: Assertions, Views, and Programming Techniques In the previous chapter, we described several aspects of the SQL language, the standard for relational databases. We described the SQL statements

More information

NATO STANDARD AMedP-8.1 DOCUMENTATION RELATIVE TO INITIAL MEDICAL TREATMENT AND EVACUATION

NATO STANDARD AMedP-8.1 DOCUMENTATION RELATIVE TO INITIAL MEDICAL TREATMENT AND EVACUATION NATO STANDARD AMedP-8.1 DOCUMENTATION RELATIVE TO INITIAL MEDICAL TREATMENT AND EVACUATION Edition A Version 1 JUNE 2013 NORTH ATLANTIC TREATY ORGANIZATION ALLIED MEDICAL PUBLICATION Published by the NATO

More information

Lesson 8: Introduction to Databases E-R Data Modeling

Lesson 8: Introduction to Databases E-R Data Modeling Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data

More information

The process of database development. Logical model: relational DBMS. Relation

The process of database development. Logical model: relational DBMS. Relation The process of database development Reality (Universe of Discourse) Relational Databases and SQL Basic Concepts The 3rd normal form Structured Query Language (SQL) Conceptual model (e.g. Entity-Relationship

More information

Mid Willamette Valley: Community Systems Background Document Marion, Polk, Yamhill, Linn, and Benton counties

Mid Willamette Valley: Community Systems Background Document Marion, Polk, Yamhill, Linn, and Benton counties Mid WillametteValley:CommunitySystemsBackgroundDocument Marion,Polk,Yamhill,Linn,andBentoncounties PreparedbytheClimateLeadershipInitiative April2010 OVERVIEW SurroundingtheWillametteRiverandborderedbytheCoastRangeandCascades,theMid

More information

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition Beginning C# 5.0 Databases Second Edition Vidya Vrat Agarwal Contents J About the Author About the Technical Reviewer Acknowledgments Introduction xviii xix xx xxi Part I: Understanding Tools and Fundamentals

More information

BSM 9.0 ESSENTIALS. Instructor-Led Training

BSM 9.0 ESSENTIALS. Instructor-Led Training BSM 9.0 ESSENTIALS Instructor-Led Training INTENDED AUDIENCE New users of Business Service Management (BSM) 9.0, including: Database Administrators System Administrators Network Administrators Operations

More information

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 14 Databases 14.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define a database and a database management system (DBMS)

More information

NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: CIT 743 COURSE TITLE: INTRODUCTION TO DATABASE MANAGEMENT SYSTEM

NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: CIT 743 COURSE TITLE: INTRODUCTION TO DATABASE MANAGEMENT SYSTEM NATIONAL OPEN UNIVERSITY OF NIGERIA SCHOOL OF SCIENCE AND TECHNOLOGY COURSE CODE: CIT 743 COURSE TITLE: INTRODUCTION TO DATABASE MANAGEMENT SYSTEM COURSE GUIDE MAIN COURSE CONTENTS PAGE Module 1 Database

More information

Course: CSC 222 Database Design and Management I (3 credits Compulsory)

Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course: CSC 222 Database Design and Management I (3 credits Compulsory) Course Duration: Three hours per week for 15weeks with practical class (45 hours) As taught in 2010/2011 session Lecturer: Oladele,

More information

CSE 132A. Database Systems Principles

CSE 132A. Database Systems Principles CSE 132A Database Systems Principles Prof. Victor Vianu 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric:

More information

ER & EER to Relational Mapping. Chapter 9 1

ER & EER to Relational Mapping. Chapter 9 1 ER & EER to Relational Mapping Chapter 9 1 Figure 3.2 ER schema diagram for the company database. Fname Minit Lname Number Name Address N 1 WORKS_FOR Name Locations Sex Salary Ssn Bdate EMPLOYEE NumberOfEmployees

More information

Chapter 1: Introduction. Database Management System (DBMS) University Database Example

Chapter 1: Introduction. Database Management System (DBMS) University Database Example This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS contains information

More information

Topics. Introduction to Database Management System. What Is a DBMS? DBMS Types

Topics. Introduction to Database Management System. What Is a DBMS? DBMS Types Introduction to Database Management System Linda Wu (CMPT 354 2004-2) Topics What is DBMS DBMS types Files system vs. DBMS Advantages of DBMS Data model Levels of abstraction Transaction management DBMS

More information

CHAPTER 8: SQL-99: SCHEMA DEFINITION, BASIC CONSTRAINTS, AND QUERIES

CHAPTER 8: SQL-99: SCHEMA DEFINITION, BASIC CONSTRAINTS, AND QUERIES Chapter 8: SQL-99: Schema Definition, Basic Constraints, and Queries 1 CHAPTER 8: SQL-99: SCHEMA DEFINITION, BASIC CONSTRAINTS, AND QUERIES Answers to Selected Exercises 8. 7 Consider the database shown

More information

Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst

Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst Outline Data Modeling Yanlei Diao UMass Amherst v Conceptual Design: ER Model v Relational Model v Logical Design: from ER to Relational Slides Courtesy of R. Ramakrishnan and J. Gehrke 1 2 Conceptual

More information

Schedule of Bank Charges Schedule of Charges (Excluding FED)

Schedule of Bank Charges Schedule of Charges (Excluding FED) Schedule of Bank Charges Schedule of Charges (Excluding FED) CONSUMER BANKING A VISA / Master Card 1 Credit Card Operations (i) Service Fee 3.33% Per month (40% APR) on Cash Advance 3.33% per month (40%

More information

Relational model. Relational model - practice. Relational Database Definitions 9/27/11. Relational model. Relational Database: Terminology

Relational model. Relational model - practice. Relational Database Definitions 9/27/11. Relational model. Relational Database: Terminology COS 597A: Principles of Database and Information Systems elational model elational model A formal (mathematical) model to represent objects (data/information), relationships between objects Constraints

More information

10CS54: DATABASE MANAGEMENT SYSTEM

10CS54: DATABASE MANAGEMENT SYSTEM CS54: DATABASE MANAGEMENT SYSTEM QUESTION BANK Chapter 1: Introduction to Database Systems Objective: Databases and data base system have become an essential component of everyday life in modern society.

More information

Database Systems. Lecture 1: Introduction

Database Systems. Lecture 1: Introduction Database Systems Lecture 1: Introduction General Information Professor: Leonid Libkin Contact: libkin@ed.ac.uk Lectures: Tuesday, 11:10am 1 pm, AT LT4 Website: http://homepages.inf.ed.ac.uk/libkin/teach/dbs09/index.html

More information

SQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Introduction to Relational Database Systems Fall 2015 Lecture 7

SQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Introduction to Relational Database Systems Fall 2015 Lecture 7 SQL DATA DEFINITION: KEY CONSTRAINTS CS121: Introduction to Relational Database Systems Fall 2015 Lecture 7 Data Definition 2 Covered most of SQL data manipulation operations Continue exploration of SQL

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

2) What is the structure of an organization? Explain how IT support at different organizational levels.

2) What is the structure of an organization? Explain how IT support at different organizational levels. (PGDIT 01) Paper - I : BASICS OF INFORMATION TECHNOLOGY 1) What is an information technology? Why you need to know about IT. 2) What is the structure of an organization? Explain how IT support at different

More information

Maintaining Stored Procedures in Database Application

Maintaining Stored Procedures in Database Application Maintaining Stored Procedures in Database Application Santosh Kakade 1, Rohan Thakare 2, Bhushan Sapare 3, Dr. B.B. Meshram 4 Computer Department VJTI, Mumbai 1,2,3. Head of Computer Department VJTI, Mumbai

More information

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Query optimization. DBMS Architecture. Query optimizer. Query optimizer.

Elena Baralis, Silvia Chiusano Politecnico di Torino. Pag. 1. Query optimization. DBMS Architecture. Query optimizer. Query optimizer. DBMS Architecture INSTRUCTION OPTIMIZER Database Management Systems MANAGEMENT OF ACCESS METHODS BUFFER MANAGER CONCURRENCY CONTROL RELIABILITY MANAGEMENT Index Files Data Files System Catalog BASE It

More information

Expert Oracle. Database Architecture. Techniques and Solutions. 10gr, and 11g Programming. Oracle Database 9/, Second Edition.

Expert Oracle. Database Architecture. Techniques and Solutions. 10gr, and 11g Programming. Oracle Database 9/, Second Edition. Expert Oracle Database Architecture Oracle Database 9/, Techniques and Solutions 10gr, and 11g Programming Second Edition TECHNiSCHE JNFORMATIONSBIBLIOTHEK UN!VERSITAT BIBLIOTHEK HANNOVER Thomas Kyte Apress

More information

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: DATABASE MANAGEMENT (Code: 3341605 ) Information Technology

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: DATABASE MANAGEMENT (Code: 3341605 ) Information Technology GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: DATABASE MANAGEMENT (Code: 3341605 ) Diploma Programme in which this course is offered Information Technology Semester

More information

FHE DEFINITIVE GUIDE. ^phihri^^lv JEFFREY GARBUS. Joe Celko. Alvin Chang. PLAMEN ratchev JONES & BARTLETT LEARN IN G. y ti rvrrtuttnrr i t i r

FHE DEFINITIVE GUIDE. ^phihri^^lv JEFFREY GARBUS. Joe Celko. Alvin Chang. PLAMEN ratchev JONES & BARTLETT LEARN IN G. y ti rvrrtuttnrr i t i r : 1. FHE DEFINITIVE GUIDE fir y ti rvrrtuttnrr i t i r ^phihri^^lv ;\}'\^X$:^u^'! :: ^ : ',!.4 '. JEFFREY GARBUS PLAMEN ratchev Alvin Chang Joe Celko g JONES & BARTLETT LEARN IN G Contents About the Authors

More information

Music Business Lecturers Oxford, UK Seeking Part-time and casual appointments

Music Business Lecturers Oxford, UK Seeking Part-time and casual appointments Music Business Lecturers Oxford, UK Seeking Part-time and casual appointments SAE Institute is a leading global provider of education for creative media industries with a current network of over 50 Colleges

More information

FileMaker 11. ODBC and JDBC Guide

FileMaker 11. ODBC and JDBC Guide FileMaker 11 ODBC and JDBC Guide 2004 2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker, Inc. registered

More information

Scheme G. Sample Test Paper-I

Scheme G. Sample Test Paper-I Scheme G Sample Test Paper-I Course Name : Computer Engineering Group Course Code : CO/CM/IF/CD/CW Marks : 25 Hours: 1 Hrs. Q.1 Attempt Any THREE. 09 Marks a) List any six applications of DBMS. b) Define

More information

Relational Database Basics Review

Relational Database Basics Review Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on

More information

SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach TRAINING & REFERENCE murach's SQL Server 2012 for developers Bryan Syverson Joel Murach Mike Murach & Associates, Inc. 4340 N. Knoll Ave. Fresno, CA 93722 www.murach.com murachbooks@murach.com Expanded

More information

Book of Needs of the Holy Orthodox Church

Book of Needs of the Holy Orthodox Church by Christian Classics Ethereal Library About Book of Needs of the Holy Orthodox Church by Title: URL: Author(s): Publisher: Print Basis: Rights: Date Created: Status: CCEL Subjects: Book of Needs of the

More information

BIRT: A Field Guide to Reporting

BIRT: A Field Guide to Reporting BIRT: A Field Guide to Reporting x:.-. ^ 11 Diana Peh Alethea Hannemann Nola Hague AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Parts

More information

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?

DBMS Questions. 3.) For which two constraints are indexes created when the constraint is added? DBMS Questions 1.) Which type of file is part of the Oracle database? A.) B.) C.) D.) Control file Password file Parameter files Archived log files 2.) Which statements are use to UNLOCK the user? A.)

More information