- Database: Shared collection of logically related data and a description of it, designed to meet the information needs of an organization.

Size: px
Start display at page:

Download "- Database: Shared collection of logically related data and a description of it, designed to meet the information needs of an organization."

Transcription

1 أساسيات قواعد بيانات 220) DataBase fundamentals (IS Lecture 1: Ch1 -Principles of DataBases- File-Based Systems: Collection of application programs that perform services for the end users. (e.g: reports). - Each program defines and manages its own data. - Limitations (Disadvantages): 1. Separation and isolation of data 2. Duplication of Data 3. Data dependence 4. Incompatible file formats Solution? DATABASE Approach. - Data: know facts that can be recorded and have an implicit meaning. Data itself has no meaning without meatdata which describes data. - Information: the data you process in a manner that make it meaningful. So, Data is what you store in database. Information is what you retrieve from database. - Database: Shared collection of logically related data and a description of it, designed to meet the information needs of an organization. - Metadata (system catalog/data dictionary): the description of data, used to enable program-data independence. - Entity: a distinct object( person, place, thing ) in the organization that is to be represented in the database. - Attribute: is a property that describes some aspect of the object that we wish to record. - Relationship: is an association between entities. Database Management System (DBMS): a software system that enables users to create, maintain, and query the database. examples of DBMSs: Oracle, MS Access, MySQL Database Application: collection of data and programs that interacts with the database by issuing an appropriate request(typically an SQL statement) to the DBMS. Database System: The DBMS software together with the data itself. Sometimes, the applications are also included. (DB + DBMS + Application program) To manage large amounts of data Efficiently, reliably, securely and conveniently. Main Characteristics of the Database approach 1. Self-describing nature of a database system 2. Insulation between programs and data 3. Data Abstraction 4. Support of multiple views of the data 5. Sharing of data and multiuser transaction processing Transaction: executing program or process that includes one or more database accesses, such as reading or updating of DB record. View: Subset of the database. Allows each user to have his/her own view of database 1

2 Components of DBMS environment: 1. Hardware 2. Software 3. Data 4. Procedures 5. People 1/17/1439 AH Role in the Database Environment - System Analyst: Determine the user requirements and develop the system specification. - Database Designers: responsible for defining the content, the structure, the constraints, and functions or transactions against the database. - Application Programmer - Implement programs meet the end user needs. - Test, debug, document, and maintain transactions. - Database administrations - End-users > Categories: Naive(queries/modified data) - Sophisticated. Advantages of using the Database Approach - controlling redundancy in data storage and in development and maintenance efforts. - Sharing of data among multiple users. - Restricting unauthorized access of data - Providing backup and recovery services - Providing multiple interfaces to different classes of users - Enforcing integrity constraints on the database Disadvantages of using the Database Approach - Complexity - Cost of DBMS - Additional hardware costs - Performance - Higher impact of a failure Lecture 2: Ch1 -DataBase Environment- Data abstraction: generally refers to the suppression of details of data organization and storage, and the highlighting of the essential features for an improved understanding of data. - it enables different users to perceive data at their preferred level of detail. Schema(intention): description of database. < like metadata. + Change rarely. - displays schema is called: Schema diagram. - We call each obj in the schema a schema construct. Instance(database state/extension): the actual database at any point of time. - Changes rapidly - When we initially load data into database, it said to move into initial state of database. - Each write operation changes the current state to new state. Goal of Three-level Architecture is to separate the user apps from the physical database. 2

3 1. The External or view Level - includes a number of external schemas or user views. (the ways users perceive data) - describes the part of database the is relevant to a particular user. 2. Conceptual Level - It has a conceptual schema(logical structure of entire database) - Describes what data is stored in database and relationships among the data. - It concentrates on describing entities, data types, relationships, user operations, and constraints. 3. Internal Level - It has an internal schema(the way DBMS and OS perceive data) - Physical representation of the database on computer. - How the data stored in the database. Mapping: the processes of transforming requests and results between levels. Reasons for separation: 1. Each user should able to access the data, but have a different customized view of data. 2. DBA should be able to change the DB storage structure without affecting user s view. 3. The internal structure of database should be unaffected by changes to the physical aspects of storage, such as change to new storage device. Data Independence: the ability to modify a schema definition in one level without affecting a schema definition in the next higher level. - Three-level architecture provides Data Independence, which means that upper level are unaffected by changes to lower level. Kinds of data independence: - Logical Data independence - Refers to immunity of external schemas to changes in conceptual schema. - Conceptual schema changes -addition/removal of entities- should not require changes to external schema or rewrites of application programs. - Physical Data independence - Refers to immunity of conceptual schema to changes in the internal schema. - Internal schema changes -using different file organizations, storage structures/ devices- should not require change to conceptual or external schemas. Data Model: collection of concepts that can be used to describe the structure of a database. - Purpose > to represent data in an understandable way. Database Design: - Conceptual database design > to build the conceptual representation of the database, which includes identification of the important entities, relationships and attributes. - Logical database design > to translate the conceptual representation to the logical structure of the database, which includes designing the relations. - Physical database design > to decide how the logical The stages of database system development lifecycle 3

4 structure is to be physically implemented (as base relations) in the target database management system (DBMS). 1/17/1439 AH - Conceptual data design: the process of constructing a model of the data in an enterprise, independent of all physical considerations. - the conceptual data model includes ER and a data dictionary. - Logical data design: process off constructing a model of the data used in an enterprise based on a specific data model -relational-, but independent of particular DBMS and other physical considerations. - Physical data design: process of producing a description of the implantation of the database on secondary storage. < tailored to a specific DBMS. Classification or models of DBMSs: - First Generation: 1. Network data model > allowing a record to participate in multiple parent/ child relationships. - Allowing child records to have multiple parents (M:N). 2. Hierarchical data model > each parent record can have many children, but each record has only one parent (1:M). -Tree-like structure- - Disadvantages: 1. Required complex programs for even simple queries. 2. Minimal data independence. 3. No widely accepted theoretical foundations. - Second Generation: 1. Relational data model > computer database in which all data is stored in relations(tables with rows and columns). each table is composed of records(tuples) and each record is identified by a field(attribute with unique value). - Advantages: - Modifying data will be efficient. - Data retrieval will be efficient too. - Self-documenting. - Changes to the database schema easy to make. - Third Generation: - Object-oriented data model > Response to increasing complexity of DB applications. Lecture 3: Ch12 -Data modeling using ER Model- ER(Entity-Relationship) model: is a popular high-level conceptual data model. - Based on real world objects called entities and relationships between them. - it can be directly translate to relations (tables). ERD(Entity-Relationship Diagram): is a graphical model for representing conceptual data model. using three elements: Entities, attributes, and relationships. 1. Entity: real thing with an independent existence. could be: - physical existence (car, student) - conceptual existence (company, course). 2. Attribute: property describing an entity. eg: student name, ID, age 4

5 Types of Attributes: Simple: single atomic value with an independent existence. Single-valued Stored 1/17/1439 AH Composite: multiple components. Multi-valued Derived: represents a derivable value from a related attribute. Keys of Entity: Candidate key: is minimal set of attributes whose values uniquely identify and entity. -Can t be NULL- - there could be more than one; if so, we select one as primary key and the other an alternate key. Primary key: the selected key that uniquely identify and entity. - indicated with underline- we choose PK based on: - Attribute length - Number of attributes required - Certainty of uniqueness. PK could be: - simple > single attribute - composite > multiple attributes. 3. Relationship: association between entities. -represented by diamonds- - it could have attributes. Degree of relationships: - Unary(recursive) between one entity - Binary between two entities - N-ary more than two. e.g.: 3 entities > ternary. Role: purpose that each participating entity type plays in a relationship. Types of constraints on relationships: Cardinality ratio (number of relationship an entity can participate in) Participation (all or only some entities participate in a relationship) 1:1 Mandatory(total): requires (every, should, must) represented by double lines 1:M - M:1 Optional(Partial): doesn t required (not every, may, could) represented by single line M:N Multiplicity: number(range) of possible entities that may relate to a single association through a particular relationship. (min, max) - * = many - - Strong entity: have a key attribute. (independent) - Weak entity: no key attribute. (depends on some other entity) - -represented by double line- - weak entity in weak relationships is always mandatory. 5

6 Lecture 4: Ch3 -Mapping ERD to Relations- Logical (relational) model represents database as relations(tables). - Tuple: row of relation. - Degree of relation: number of attributes in it. - Cardinality: number of tuples in it. - Relational schema: describes a relation(r). Denoted by: R(A1,A2,,An). Relational Keys: - Candidate Key (CK) - Primary Key(PK) - Foreign Key(FK): attribute(s) in a relation that matches the CK of some relation. (relationships between two relations). - Relations should have as few NULL values as possible, if there are frequents NULL values, we can separate relations with PK. - NULL values: - Unknown value - Unavailable value - Not applicable attribute\ Data redundancy: data field appear more than once in the database. - Disadvantages: weak maintaining of DB + waste of memory. Mapping next page > 6

7 Mapping strong entity type Mapping Multivalued attributes Mapping weak entities 1 relation with attributes + PK composite > only components Derived > omitted 2 relations: 1. all attributes except multivalued + PK 2. PK of 1st relation as FK + multivalued attribute 1/17/1439 AH 2 relations: 1. all attributes of 1st entity + PK 2. all attributes of weak entity + Key + PK of 1st relation as FK Mapping Binary relationships M:N Mapping Binary relationships 1:M Mapping Binary relationships 1:1 3 relations: 1. all attributes of 1st entity + PK 2. all attributes of 2nd entity + PK 3. PKs of entities as FKs + Relationship attribute 2 relations: 1. all attributes of (one side) entity + PK 2. all attributes of (many side) entity + PK of (one side) as FK + relationship attribute - Mandatory/optional on both sides: 2 relations: 1. all attributes of 1st entity + PK 2. all attributes of 2nd entity + PK of 1st as FK + relationship attribute ^ opposite is fine - Mandatory on one side 2 relations: 1. all attributes of optional side entity 2. all attributes of mandatory side entity + PK of optional side as FK + relationship attribute Mapping Unary relationships 1:M Mapping Unary relationships M:N Mapping Unary relationships 1:1 1 relation: 1. PK + copy of PK as FK + relationship attribute 2 relations: 1. all attributes of entity + PK 2. PK as FK + copy of PK as FK + relationship attribute - Mandatory on both sides: < 1:M rules - Optional on both sides: < M:N rules - Mandatory on one side: either of two methods 1:M/M:N Mapping N-ary relationships n relations: (n = number of entities) 1. all attributes of entity + PK 2. PKs as FKs + relationship attribute \ 7

8 Lecture 5: Ch FDs and Normalization- Functional dependencies: describes the relationship between attributes in a relation. - Purpose: specify the set of integrity constraints that must hold on a relation. Normalization: bottom-up approach to DB design that begins by examining the relationships between attributes. -series of tests- - Purpose: Guarantees no redundancy due to FDs. Guarantees no update anomalies. Normal forms: UNF(unnormalized form): relation that contains one or more repeating groups. 1NF 2NF 3NF - All attributes depends on the key - intersection of each row & col contains one & only one value. - Disallows: 1. Multivalued attributes 2. nested relations (repeating group) UNF > 1NF? 2 relation: 1. all attributes except multivalued. 2. PK of 1st relation + multivalued -both becomes PK- - All attributes depends on the whole key (Full functional dependency) - Disallows: partial dependency 1NF > 2NF? - 1NF - remove partial dependency by moving in a new relation with copy of determinants. - All attributes depends on nothing but the key - Disallows: Transitive functional dependency 1NF > 2NF? - 1NF - 2NF - place transitive dependent attributes in new relation with copy of determinants. 8

9 Lecture 6: Ch6 -SQL overview, oracle date type, DDL and constraint- Database Languages: 1. Data Definition Language(DDL): allows DBAs/users to describe and name entities, attributes and relationships. (define a schema or modify it) 2. Data Manipulation Language(DML): provides basic data manipulation operations on data held in the database (insertion, modification, retrieval, deletion) Two types of DML: - Procedural DML > allows user to tell system how to manipulate data (OracleSQL) - Non-Procedural DML > allows user to state what data is needed (SQL query) 3. Data Control Language(DCL): component of database language used to create privileges to allow users access to the database. SQL overview: - stands for Structured Query Language - standard for relational database management systems such as: Oracle. - All SQL statements are instructions to the database - Easy to learn + case insensitive - non-procedural language Table creation NOT NULL constraint *column level only* UNIQUE constraint DEFAULT constraint PRIMARY KEY constraint FOREIGN KEY constraint CHECK constraint DDL: Referential integrity constraint: ON DELETE/UPDATE CASCADE ON DELETE/UPDATE SET NULL ON DELETE/UPDATE SET DEFAULT ^ follows foreign key constraint. 9

10 Lecture 7: Ch6 -SQL overview, oracle date type, DDL and constraint- ALTER table (add/delete/modify columns, add/remove constraint) add column delete column modify column add constraint remove constraint enable/disable constraint drop table view table Lecture 8: Ch4,5-Relational Algebra, Data Manipulation in SQL, Simple SQL queries- Relational Algebra: operations on relations(sets of records) to produce a relation as result. output from one operation can become input to another operation (nested relational algebra). 1. Unary operations: (works on one relation) < -examples only on unary- I. Selection II. Projection 1. Binary operations:(pair of relations) Cartesian product - Union - Join - Intersection - Set difference - Division. Selection Select[cond](R) selects tuples out of relation R that meet specified condition to result in a new relation. Projection Project[attr-list](R) selects columns specified in the attributes list out of R to result in a new relation. DML cont. in next page> INSERT INTO -add rows- SELECT (column)/(*) -only for outputs, no change in the actual data- UPDATE -update records in table- DELETE -delete records with rollback- TRUNCATE -no rollback and empties memory space- 10

11 WHERE clause (condition) - Comparison (=,<,>,<>,<=,>=), AND/OR/NOT - Range (BETWEEN/NOT BETWEEN) - Set membership (IN/NOT IN) - Pattern match (LIKE/NOT LIKE) > % 0 or more characters, _ single character - IS NULL/ IS NOT NULL 1/17/1439 AH DISTINCT (removes duplicate values) ORDER BY (ascending/descending order) Lecture 9 is after 10 -sorry for the inconvenient- Lecture 10: Ch5 -Data Manipulation in SQL, Advances SQL queries- - Table and Column names can be prefixed with owner s name. for example: table product owned by John: SELECT * FROM John.product; - Column names can be prefixed with table name: SELECT product.prodno FROM product; Alias: temporarily rename a table or column heading. Join: if two or more tables are needed at the same time to find all required data (joined together). - it computes new table from joined ones. 11

12 1/17/1439 AH - Types of JOIN: A. Inner join: return rows when there is at least one match in both tables. B. Left join: return all rows from the left table even if there are no matches in the right table. C. Right join: return all rows from the right table even if there are no matches in the left table. D. Full outer join: retains rows that are unmatched in both the tables. Note: all outer joins, the displayed unmatched column filled with NULLs. - Examples of JOIN >> Simple join (two tables) more than two table -more examples in slides- - Outer Joins in Oracle SQL: put (+) on the potentially deficient side -where nulls may be added it s placed in the join condition next to the table that is allowed to have NULL values. Note: table may be outer joined with only one other table. - More examples: Nested Queries: 1. query results are tables, which can also be queried. - inner query referred to as subquery. 2. If query result is a single value, it can be treated as a value, and be compared with other values. 12

13 Queries using EXISTS/ NOT EXISTS: - designed only for subqueries. - EXIST returns to there exist at least one row in the result table returned by the subquery, it s false if subquery returns an empty result table. 1/17/1439 AH Union: used to combine result-set of two or more SELECT statements and eliminates any duplicate rows from the result. - SELECT statement with UNION must: 1. have the same number of columns. 2. columns must have same data type. 3. columns in each SELECT statement must be in the same order. - to allow duplicate values, use UNION ALL. Minus: returns only unique rows returned by the first query not the second. Intersect: returns only those rows returned by the two queries. 13

14 Lecture 9: Ch5 -Data Manipulation in SQL, Advances SQL queries- Aggregate functions: Count: return number of values(without nulls) Sum: return total of numeric column Avg : return average of numeric column Min(smallest value), Max(larges value) - we can use * for all table - we can use distinct to omit duplicated values. Advanced queries -GROUP BY-: - used in conjunction with aggregate functions to group the result-set. - use group by clause to get sub-totals. - if WHERE is used with GROUP BY, WHERE is applied first, then groups are formed from rows satisfying condition. HAVING: - designed to be used with GROUP BY to restrict groups. Inserting data using queries: - you can insert a result of at query into table if you have two tables that has same structure you can use it. SQL data loader: - for a table containing a large data set, INSERT command is not efficient. - oracle provides a data loader utility SQLLoader. - data can be loaded from any text file inserted to database. - but table must be created first. 14

15 Lecture 11: Ch5 -Transaction control language, data control language- Transaction control Language(TLC): used to control transactional processing in database. - Commands: A. COMMIT: to save changes permanently in the database. B. ROLLBACK: to undo all changes of a transactions. C. SAVEPOINT: creates points within groups of transactions on which to rollback. Savepoint Commit Rollback - names and marks the current point in the processing of a transaction. - if you want to make your update permanent. - used to save changes invoked by a transaction to the database. - erases any savepoints you marked since last commit. - if you change your mind or need to correct a mistake. - inverse of COMMIT statements. - during current transaction. Data Control Language(DCL): component of the SQL language is used to create privileges to allow users access to, and manipulation of the database. two main commands: Grant - in order to log onto the database you must be given appropriate privileges. - SQL command to grant privilege on a table: Revoke - remove a privilege from a user. - SQL command to revoke privilege on a table: - any combination is allowed. - you can issue this on any table you created. - example: - example: الحمدلل ه الذي بنعمته تتم الصالحات. الل هم عل منا ماينفعنا وانفعنا بما علمتنا وزدنا اللهم علم ا 15

Lecture2: Database Environment

Lecture2: Database Environment College of Computer and Information Sciences - Information Systems Dept. Lecture2: Database Environment 1 IS220 : D a t a b a s e F u n d a m e n t a l s Topics Covered Data abstraction Schemas and Instances

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

8) A top-to-bottom relationship among the items in a database is established by a

8) A top-to-bottom relationship among the items in a database is established by a MULTIPLE CHOICE QUESTIONS IN DBMS (unit-1 to unit-4) 1) ER model is used in phase a) conceptual database b) schema refinement c) physical refinement d) applications and security 2) The ER model is relevant

More information

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601 Techno India Batanagar Computer Science and Engineering Model Questions Subject Name: Database Management System Subject Code: CS 601 Multiple Choice Type Questions 1. Data structure or the data stored

More information

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Re-accredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated

More information

Review -Chapter 4. Review -Chapter 5

Review -Chapter 4. Review -Chapter 5 Review -Chapter 4 Entity relationship (ER) model Steps for building a formal ERD Uses ER diagrams to represent conceptual database as viewed by the end user Three main components Entities Relationships

More information

THE RELATIONAL DATABASE MODEL

THE RELATIONAL DATABASE MODEL THE RELATIONAL DATABASE MODEL Introduction to relational DB Basic Objects of relational model Properties of relation Representation of ER model to relation Keys Relational Integrity Rules Functional Dependencies

More information

SQL Interview Questions

SQL Interview Questions SQL Interview Questions SQL stands for Structured Query Language. It is used as a programming language for querying Relational Database Management Systems. In this tutorial, we shall go through the basic

More information

Database Management System 9

Database Management System 9 Database Management System 9 School of Computer Engineering, KIIT University 9.1 Relational data model is the primary data model for commercial data- processing applications A relational database consists

More information

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model Database Design Section1 - Introduction 1-1 Introduction to the Oracle Academy o Give examples of jobs, salaries, and opportunities that are possible by participating in the Academy. o Explain how your

More information

Basant Group of Institution

Basant Group of Institution Basant Group of Institution Visual Basic 6.0 Objective Question Q.1 In the relational modes, cardinality is termed as: (A) Number of tuples. (B) Number of attributes. (C) Number of tables. (D) Number of

More information

Mahathma Gandhi University

Mahathma Gandhi University Mahathma Gandhi University BSc Computer science III Semester BCS 303 OBJECTIVE TYPE QUESTIONS Choose the correct or best alternative in the following: Q.1 In the relational modes, cardinality is termed

More information

Relational Database Systems Part 01. Karine Reis Ferreira

Relational Database Systems Part 01. Karine Reis Ferreira Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents

More information

1. Considering functional dependency, one in which removal from some attributes must affect dependency is called

1. Considering functional dependency, one in which removal from some attributes must affect dependency is called Q.1 Short Questions Marks 1. Considering functional dependency, one in which removal from some attributes must affect dependency is called 01 A. full functional dependency B. partial dependency C. prime

More information

Review for Exam 1 CS474 (Norton)

Review for Exam 1 CS474 (Norton) Review for Exam 1 CS474 (Norton) What is a Database? Properties of a database Stores data to derive information Data in a database is, in general: Integrated Shared Persistent Uses of Databases The Integrated

More information

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK UNIT I SECTION-A 2 MARKS 1. What is meant by DBMs? 2. Who is a DBA? 3. What is a data model?list its types. 4. Define

More information

UNIT-IV (Relational Database Language, PL/SQL)

UNIT-IV (Relational Database Language, PL/SQL) UNIT-IV (Relational Database Language, PL/SQL) Section-A (2 Marks) Important questions 1. Define (i) Primary Key (ii) Foreign Key (iii) unique key. (i)primary key:a primary key can consist of one or more

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database? DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS Complete book short Answer Question.. QUESTION 1: What is database? A database is a logically coherent collection of data with some inherent meaning, representing

More information

Solved MCQ on fundamental of DBMS. Set-1

Solved MCQ on fundamental of DBMS. Set-1 Solved MCQ on fundamental of DBMS Set-1 1) Which of the following is not a characteristic of a relational database model? A. Table B. Tree like structure C. Complex logical relationship D. Records 2) Field

More information

Relational Model: History

Relational Model: History Relational Model: History Objectives of Relational Model: 1. Promote high degree of data independence 2. Eliminate redundancy, consistency, etc. problems 3. Enable proliferation of non-procedural DML s

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS A7-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

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam Question No: 1 ( Marks: 1 ) - Please choose one Which of the following is NOT a feature of Context DFD?

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business This is the second portion of the Database Design and Programming with SQL course. In this portion, students implement their database design by creating a

More information

Course Outline Faculty of Computing and Information Technology

Course Outline Faculty of Computing and Information Technology Course Outline Faculty of Computing and Information Technology Title Code Instructor Name Credit Hours Prerequisite Prerequisite Skill/Knowledge/Understanding Category Course Goals Statement of Course

More information

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science

Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science 1 Distributed Database Systems Basic concepts and Definitions Data Collection of facts and figures concerning an object

More information

Relational Model (cont d) & Entity Relational Model. Lecture 2

Relational Model (cont d) & Entity Relational Model. Lecture 2 Relational Model (cont d) & Entity Relational Model Lecture 2 Relational Database Operators Relational algebra Defines theoretical way of manipulating table contents using relational operators: SELECT

More information

LECTURE1: PRINCIPLES OF DATABASES

LECTURE1: PRINCIPLES OF DATABASES LECTURE1: PRINCIPLES OF DATABASES Ref. Chapter1 Information Systems Department Chapter1 - Objectives 2 Problems with file-based approach. Database concepts. Database Management System (DBMS). Major components

More information

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10 RAJIV GANDHI COLLEGE OF ENGINEERING & TECHNOLOGY, KIRUMAMPAKKAM-607 402 DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

More information

CPS510 Database System Design Primitive SYSTEM STRUCTURE

CPS510 Database System Design Primitive SYSTEM STRUCTURE CPS510 Database System Design Primitive SYSTEM STRUCTURE Naïve Users Application Programmers Sophisticated Users Database Administrator DBA Users Application Interfaces Application Programs Query Data

More information

The Entity Relationship Model

The Entity Relationship Model The Entity Relationship Model CPS352: Database Systems Simon Miner Gordon College Last Revised: 2/4/15 Agenda Check-in Introduction to Course Database Environment (db2) SQL Group Exercises The Entity Relationship

More information

CS6302 DBMS 2MARK & 16 MARK UNIT II SQL & QUERY ORTIMIZATION 1. Define Aggregate Functions in SQL? Aggregate function are functions that take a collection of values as input and return a single value.

More information

Course Outline and Objectives: Database Programming with SQL

Course Outline and Objectives: Database Programming with SQL Introduction to Computer Science and Business Course Outline and Objectives: Database Programming with SQL This is the second portion of the Database Design and Programming with SQL course. In this portion,

More information

Chapter 4. The Relational Model

Chapter 4. The Relational Model Chapter 4 The Relational Model Chapter 4 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational model.

More information

Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM).

Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM). Question 1 Essay Question: Explain 4 different means by which constrains are represented in the Conceptual Data Model (CDM). By specifying participation conditions By specifying the degree of relationship

More information

Entity Attribute STUDENT TABLE tuples single domain

Entity Attribute STUDENT TABLE tuples single domain Objectives Computer Science 202 Database Systems: Relational Database Model To learn the basic relational database components and concepts. To become familiar with the relational table's components and

More information

Chapter 3: The Relational Database Model

Chapter 3: The Relational Database Model Chapter 3: The Relational Database Model Student: 1. The practical significance of taking the logical view of a database is that it serves as a reminder of the simple file concept of data storage. 2. You

More information

Oracle Syllabus Course code-r10605 SQL

Oracle Syllabus Course code-r10605 SQL Oracle Syllabus Course code-r10605 SQL Writing Basic SQL SELECT Statements Basic SELECT Statement Selecting All Columns Selecting Specific Columns Writing SQL Statements Column Heading Defaults Arithmetic

More information

5. Single-row function

5. Single-row function 1. 2. Introduction Oracle 11g Oracle 11g Application Server Oracle database Relational and Object Relational Database Management system Oracle internet platform System Development Life cycle 3. Writing

More information

Assignment Session : July-March

Assignment Session : July-March Faculty Name Class/Section Subject Name Assignment Session : July-March 2018-19 MR.RAMESHWAR BASEDIA B.Com II Year RDBMS Assignment THEORY ASSIGNMENT II (A) Objective Question 1. Software that defines

More information

ROEVER ENGINEERING COLLEGE

ROEVER ENGINEERING COLLEGE ROEVER ENGINEERING COLLEGE ELAMBALUR, PERAMBALUR- 621 212 DEPARTMENT OF INFORMATION TECHNOLOGY DATABASE MANAGEMENT SYSTEMS UNIT-1 Questions And Answers----Two Marks 1. Define database management systems?

More information

Introduction to Databases

Introduction to Databases Introduction to Databases 1 Objectives Most common types of digital information processing enter file-based systems Why database systems came around DBMS environment: components / roles Is it all worth

More information

Database Management Systems Paper Solution

Database Management Systems Paper Solution Database Management Systems Paper Solution Following questions have been asked in GATE CS exam. 1. Given the relations employee (name, salary, deptno) and department (deptno, deptname, address) Which of

More information

CS403 - Database Management Systems Short Notes

CS403 - Database Management Systems Short Notes http://vustudents.ning.com CS403 - Database Management Systems Short Notes By http://vustudents.ning.com Atomicity: Atomicity states that database modifications must follow an "all or nothing" rule. Each

More information

Database Management System 6 ER Modeling...

Database Management System 6 ER Modeling... Database Management System 6 School of Computer Engineering, KIIT University 6.1 A key allows us to identify a set of attributes that suffice to distinguish entities from each other A key is a property

More information

4. Entity Relationship Model

4. Entity Relationship Model 4. Entity Relationship Model a) ER-Model: Used to construct conceptual data model, representing the structure and constraints of a database, which is not dependent on a software (like DBMS) or any data

More information

Chapter 3B Objectives. Relational Set Operators. Relational Set Operators. Relational Algebra Operations

Chapter 3B Objectives. Relational Set Operators. Relational Set Operators. Relational Algebra Operations Chapter 3B Objectives Relational Set Operators Learn About relational database operators SELECT & DIFFERENCE PROJECT & JOIN UNION PRODUCT INTERSECT DIVIDE The Database Meta Objects the data dictionary

More information

CMP-3440 Database Systems

CMP-3440 Database Systems CMP-3440 Database Systems Logical Design Lecture 03 zain 1 Database Design Process Application 1 Conceptual requirements Application 1 External Model Application 2 Application 3 Application 4 External

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management Tenth Edition Chapter 7 Introduction to Structured Query Language (SQL) Objectives In this chapter, students will learn: The basic commands and

More information

Sql Server Syllabus. Overview

Sql Server Syllabus. Overview Sql Server Syllabus Overview This SQL Server training teaches developers all the Transact-SQL skills they need to create database objects like Tables, Views, Stored procedures & Functions and triggers

More information

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer, A Access control, 165 granting privileges to users general syntax, GRANT, 170 multiple privileges, 171 PostgreSQL, 166 169 relational databases, 165 REVOKE command, 172 173 SQLite, 166 Aggregate functions

More information

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The

More information

Chapter 1 SQL and Data

Chapter 1 SQL and Data Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational

More information

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The basic commands

More information

Class Information. Textbooks. Grading. Final Project. Grading. CS 440: Database Management Systems. Instructor:

Class Information. Textbooks. Grading. Final Project. Grading. CS 440: Database Management Systems. Instructor: CS 440: Database Management Systems Class Information Instructor: Eugene Zhang (zhange@eecs.oregonstate.edu) 2 KEC Office hour: MWF 4:00 5:00 Class web site: http://classes.engr.oregonstate.edu/eecs/winter200/cs440/

More information

Chapter Two. DBMS Architecture How should DBS be organized?

Chapter Two. DBMS Architecture How should DBS be organized? Chapter Two DBMS Architecture How should DBS be organized? 1 Agenda (Chapter two) Reality, Data & Metadata The Three Levels of DBS Architecture External View, Conceptual View, Internal View Schemas, Mappings,

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship

More information

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization.

OBJECTIVES. How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 7.5 逻辑数据库设计 OBJECTIVES How to derive a set of relations from a conceptual data model. How to validate these relations using the technique of normalization. 2 OBJECTIVES How to validate a logical data model

More information

Transforming ER to Relational Schema

Transforming ER to Relational Schema Transforming ER to Relational Schema Transformation of ER Diagrams to Relational Schema ER Diagrams Entities (Strong, Weak) Relationships Attributes (Multivalued, Derived,..) Generalization Relational

More information

Relational Model. Topics. Relational Model. Why Study the Relational Model? Linda Wu (CMPT )

Relational Model. Topics. Relational Model. Why Study the Relational Model? Linda Wu (CMPT ) Topics Relational Model Linda Wu Relational model SQL language Integrity constraints ER to relational Views (CMPT 354 2004-2) Chapter 3 CMPT 354 2004-2 2 Why Study the Relational Model? Most widely used

More information

SQL functions fit into two broad categories: Data definition language Data manipulation language

SQL functions fit into two broad categories: Data definition language Data manipulation language Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Beginning Structured Query Language (SQL) MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my

More information

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept]

Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] Interview Questions on DBMS and SQL [Compiled by M V Kamal, Associate Professor, CSE Dept] 1. What is DBMS? A Database Management System (DBMS) is a program that controls creation, maintenance and use

More information

Fundamentals, Design, and Implementation, 9/e Copyright 2004 Database Processing: Fundamentals, Design, and Implementation, 9/e by David M.

Fundamentals, Design, and Implementation, 9/e Copyright 2004 Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. Chapter 5 Database Design Elements of Database Design Fundamentals, Design, and Implementation, 9/e Chapter 5/2 The Database Design Process Create tables and columns from entities and attributes Select

More information

DATABASE MANAGEMENT SYSTEM

DATABASE MANAGEMENT SYSTEM DATABASE MANAGEMENT SYSTEM For COMPUTER SCIENCE DATABASE MANAGEMENT. SYSTEM SYLLABUS ER model. Relational model: relational algebra, tuple calculus, SQL. Integrity constraints, normal forms. File organization,

More information

PES Institute of Technology Bangalore South Campus (1 K.M before Electronic City,Bangalore ) Department of MCA. Solution Set - Test-II

PES Institute of Technology Bangalore South Campus (1 K.M before Electronic City,Bangalore ) Department of MCA. Solution Set - Test-II PES Institute of Technology Bangalore South Campus (1 K.M before Electronic City,Bangalore 560100 ) Solution Set - Test-II Sub: Database Management Systems 16MCA23 Date: 04/04/2017 Sem & Section:II Duration:

More information

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual

More information

Database Systems Overview. Truong Tuan Anh CSE-HCMUT

Database Systems Overview. Truong Tuan Anh CSE-HCMUT Database Systems Overview Truong Tuan Anh CSE-HCMUT Outline File-based Approach and Database Approach Three-Schema Architecture and Data Independence Database Languages Data Models, Database Schema, Database

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1 Basic Concepts :- 1. What is Data? Data is a collection of facts from which conclusion may be drawn. In computer science, data is anything in a form suitable for use with a computer. Data is often distinguished

More information

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38 Student Info StudentID: Center: ExamDate: MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: 1356458 Time: 60 min Marks: 38 BC080402322 OPKST 5/28/2010 12:00:00 AM

More information

MTA Database Administrator Fundamentals Course

MTA Database Administrator Fundamentals Course MTA Database Administrator Fundamentals Course Session 1 Section A: Database Tables Tables Representing Data with Tables SQL Server Management Studio Section B: Database Relationships Flat File Databases

More information

0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart

More information

Chapter 3. The Relational database design

Chapter 3. The Relational database design Chapter 3 The Relational database design Chapter 3 - Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical relations and relations in the relational

More information

namib I A U n IVERS I TY

namib I A U n IVERS I TY namib I A U n IVERS I TY OF SCIEnCE AnD TECH n 0 LOGY FACULTY OF COMPUTING AND INFORMATICS DEPARTMENT OF COMPUTER SCIENCE QUALIFICATION: BACHELOR OF COMPUTER SCIENCE QUALIFICATION CODE: 07BACS LEVEL: 5

More information

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on Introduction DBMS 1957 A database can be defined as a set of Master files, organized & administered in a flexible way, so that the files in the database can be easily adapted to new unforeseen tasks! Relation

More information

Oracle Database 11g: SQL and PL/SQL Fundamentals

Oracle Database 11g: SQL and PL/SQL Fundamentals Oracle University Contact Us: +33 (0) 1 57 60 20 81 Oracle Database 11g: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn In this course, students learn the fundamentals of SQL and PL/SQL

More information

EDUVITZ TECHNOLOGIES

EDUVITZ TECHNOLOGIES EDUVITZ TECHNOLOGIES Oracle Course Overview Oracle Training Course Prerequisites Computer Fundamentals, Windows Operating System Basic knowledge of database can be much more useful Oracle Training Course

More information

More SQL: Complex Queries, Triggers, Views, and Schema Modification

More SQL: Complex Queries, Triggers, Views, and Schema Modification Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

More information

SYED AMMAL ENGINEERING COLLEGE

SYED AMMAL ENGINEERING COLLEGE UNIT-I INTRODUCTION TO DBMS CS6302- Database Management Systems Two Marks 1. What is database? A database is logically coherent collection of data with some inherent meaning, representing some aspect of

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design

More information

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1 SQL Fundamentals Chapter 3 Class 03: SQL Fundamentals 1 Class 03: SQL Fundamentals 2 SQL SQL (Structured Query Language): A language that is used in relational databases to build and query tables. Earlier

More information

CS317 File and Database Systems

CS317 File and Database Systems CS317 File and Database Systems Lecture 3 Relational Model & Languages Part-1 September 7, 2018 Sam Siewert More Embedded Systems Summer - Analog, Digital, Firmware, Software Reasons to Consider Catch

More information

Bonus Content. Glossary

Bonus Content. Glossary Bonus Content Glossary ActiveX control: A reusable software component that can be added to an application, reducing development time in the process. ActiveX is a Microsoft technology; ActiveX components

More information

1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data

1 Writing Basic SQL SELECT Statements 2 Restricting and Sorting Data 1 Writing Basic SQL SELECT Statements Objectives 1-2 Capabilities of SQL SELECT Statements 1-3 Basic SELECT Statement 1-4 Selecting All Columns 1-5 Selecting Specific Columns 1-6 Writing SQL Statements

More information

Introduction to Databases

Introduction to Databases Introduction to Databases Abou Bakar Kaleem 1 Overview - Database - Relational Databases - Introduction to SQL Introduction to Databases 2 1 Database (1) Database : - is a collection of related data -

More information

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52 Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.

More information

Translation of ER-diagram into Relational Schema. Dr. Sunnie S. Chung CIS430/530

Translation of ER-diagram into Relational Schema. Dr. Sunnie S. Chung CIS430/530 Translation of ER-diagram into Relational Schema Dr. Sunnie S. Chung CIS430/530 Learning Objectives Define each of the following database terms Relation Primary key Foreign key Referential integrity Field

More information

STRUCTURED QUERY LANGUAGE (SQL)

STRUCTURED QUERY LANGUAGE (SQL) STRUCTURED QUERY LANGUAGE (SQL) EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY SQL TIMELINE SCOPE OF SQL THE ISO SQL DATA TYPES SQL identifiers are used

More information

Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra

Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra Database Management System (15ECSC208) UNIT I: Chapter 2: Relational Data Model and Relational Algebra Relational Data Model and Relational Constraints Part 1 A simplified diagram to illustrate the main

More information

The Relational Model

The Relational Model The Relational Model What is the Relational Model Relations Domain Constraints SQL Integrity Constraints Translating an ER diagram to the Relational Model and SQL Views A relational database consists

More information

4/28/2014. File-based Systems. Arose because: Result

4/28/2014. File-based Systems. Arose because: Result File-based Systems Collection of application programs that perform services for the end users (e.g. reports). Each program defines and manages its own data. Separation and isolation of data Each program

More information

Relation Databases. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift Jaipur Region. Based on CBSE Curriculum Class -11. Neha Tyagi, PGT CS II Shift Jaipur

Relation Databases. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift Jaipur Region. Based on CBSE Curriculum Class -11. Neha Tyagi, PGT CS II Shift Jaipur Relation Databases Based on CBSE Curriculum Class -11 By- Neha Tyagi PGT CS KV 5 Jaipur II Shift Jaipur Region Neha Tyagi, PGT CS II Shift Jaipur Introduction A Database System is basically a record keeping

More information

The Relational Model. Outline. Why Study the Relational Model? Faloutsos SCS object-relational model

The Relational Model. Outline. Why Study the Relational Model? Faloutsos SCS object-relational model The Relational Model CMU SCS 15-415 C. Faloutsos Lecture #3 R & G, Chap. 3 Outline Introduction Integrity constraints (IC) Enforcing IC Querying Relational Data ER to tables Intro to Views Destroying/altering

More information

AO3 - Version: 2. Oracle Database 11g SQL

AO3 - Version: 2. Oracle Database 11g SQL AO3 - Version: 2 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries against

More information

Unit I. By Prof.Sushila Aghav MIT

Unit I. By Prof.Sushila Aghav MIT Unit I By Prof.Sushila Aghav MIT Introduction The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager DBMS Applications DBMS contains

More information

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query

Oracle. SQL(Structured Query Language) Introduction of DBMS. Build In Function. Introduction of RDBMS. Grouping the Result of a Query Oracle SQL(Structured Query Language) Introduction of DBMS Approach to Data Management Introduction to prerequisites File and File system Disadvantages of file system Introduction to TOAD and oracle 11g/12c

More information

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for

Objectives Definition iti of terms List five properties of relations State two properties of candidate keys Define first, second, and third normal for Chapter 5: Logical Database Design and the Relational Model Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice

More information

U1. Data Base Management System (DBMS) Unit -1. MCA 203, Data Base Management System

U1. Data Base Management System (DBMS) Unit -1. MCA 203, Data Base Management System Data Base Management System (DBMS) Unit -1 New Delhi-63,By Vaibhav Singhal, Asst. Professor U2.1 1 Data Base Management System Data: Data is the basic raw,fact and figures Ex: a name, a digit, a picture

More information

Oracle Database 10g: Introduction to SQL

Oracle Database 10g: Introduction to SQL ORACLE UNIVERSITY CONTACT US: 00 9714 390 9000 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database

More information

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g. 4541.564; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room 301-203) ADVANCED DATABASES Copyright by S.-g. Lee Review - 1 General Info. Text Book Database System Concepts, 6 th Ed., Silberschatz,

More information