1Fundamentals of Database Systems 기본키에 밑줄을 그은 COMPANY 관계 데이타베이스 스키마 FNAMEMINITLNAMESSNBDATEADDRESSSEXSALARYSUPERSSNDNO EMPLOYEE DNAMEDNUMBERMGRSSNMGRSTARTDATE.

Slides:



Advertisements
Similar presentations
Exercise 2 Relational Calculus
Advertisements

Fundamentals of Database Systems Fourth Edition El Masri & Navathe
Disk Controller To disk subsystem Rotational Delay Seek time Disk Block Block Size Disk Characteristics Capacity Rotational Speed (RPM) Seek Time Interface.
Database System - Assignment #3 Sept. 2012Yangjun Chen ACS Assignment #3 due Wed., Nov. 14, (30) Exercise 7.17 on Page 235 Show the result.
Defined by Edgar Codd in 1970 Defined by Edgar Codd in 1970 Considered ingenious but impractical Considered ingenious but impractical Conceptually simple.
COMPANY schema EMPLOYEE
OUTLINE OF THE LECTURE PART I GOAL: Understand the Data Definition Statements in Fig 4.1 Step1: Columns of the Tables and Data types. Step2: Single column.
Lecture 1 Relational Algebra and Relational Calculus.
The Relational Algebra
Displaying Data from Multiple Tables. EMPNO DEPTNO LOC NEW YORK CHICAGO NEW YORK DALLAS
Database technology Lecture 2: Relational databases and SQL
Data Definition Languages Atif Farid Mohammad UNCC.
MySQL Servidor de Bases de Datos Software Libre Ambientes Windows & Unix.
Exploring Microsoft Access 2003 Chapter 4 Proficiency: Relational Databases, External Data, Charts, Pivot, and the Switchboard.
Structured Query Language Agenda: - SQL commands for DB definition - SQL DML commands - VIEWS and security control using SQL.
- relation schema, relations - database schema, database state
Review Database Application Development Access Database Development ER-diagram Forms Reports Queries.
Oracle8 - The Complete Reference. Koch & Loney1 Chapter 14. Changing Data: Insert, Update, Delete Presented by Victor M. Matos.
SQL Winter 2006Ron McFadyen Outline: SQL DDL - creating schemas - modifying schemas DML - select-from-where clause - group by, having, order by.
SQL Jan. 2012Yangjun Chen ACS Outline: SQL Chapter 8 – 3rd ed. (Chap. 8 – 4 th, 5 th ed.; Chap. 4, 5, 6 th ed.) DDL - creating schemas - modifying.
Relational Data Model Sept. 2014Yangjun Chen ACS Outline: Relational Data Model Relational Data Model -relation schema, relations -database schema,
관계 연산자 & SQL. Selection SELECT * FROM r WHERE A=B AND D>5.
Logical DB Design 5. 1 CSE2132 Database Systems Week 5 Lecture Logical Database Design.
FEN  Queries: SELECT  Data Manipulation: INSERT, UPDATE, DELETE SQL: Structured Query Language – Part 2.
Review: Application of Database Systems
Other SQL Query Examples
Relational Algebra - Chapter (7th ed )
Retrieve the names of all employees in department 5 who work more than 10 hours per week on the ‘ProductX’ project. p10ssn ← (Π essn (σ hours > 10 (works-on.
 Employee (fname, minit, lname, ssn, bdate, address, sex, salary, superssn, dno)  Department (dname, dnumber, mgrssn, mgrstartdate) 
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Logical Design database design. Dr. Mohamed Osman Hegaz2 Conceptual Database Designing –Provides concepts that are close to the way many users perceive.
DatabaseDatabase cs453 Lab5 1 Ins.Ebtesam AL-Etowi.
Relational Model E.F. Codd at IBM 1970 Chapter 3 (ed. 7 – Chap. 5)
603 Database Systems Senior Lecturer: Laurie Webster II, M.S.S.E.,M.S.E.E., M.S.BME, Ph.D., P.E. Lecture 10 A First Course in Database Systems.
Mapping ER Diagrams to Tables
603 Database Systems Senior Lecturer: Laurie Webster II, M.S.S.E.,M.S.E.E., M.S.BME, Ph.D., P.E. Lecture 16 A First Course in Database Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Relational Algebra and Relational Calculus تنبيه : شرائح العرض.
An introduction to relational database RDB Sept
The SQL Database Grammar
Jan 2016 Solar Lunar Data.
Document database … one kind of NoSQL database
Database Design The Relational Model Text Ch5
Relational Database Design by ER- and EER-to-Relational Mapping
376a. Database Design Dept. of Computer Science Vassar College
Mapping ER Diagrams to Tables
Outline: Relational Data Model
Average Monthly Temperature and Rainfall
Joining Tables ضم الجداول وإستخراج مناظر views منها الهدف : 1- استخراج المعلومات من جدولين أو اكثر بالإستفادة من الرابط بينهما وبإستخدام SQL 2- شروط قواعد.
Company Requirements.
Gantt Chart Enter Year Here Activities Jan Feb Mar Apr May Jun Jul Aug
Relational Database Design by ER- and EER-to-Relational Mapping
1. Explain the following concepts: (a) superkey (b) key
1.(5) Describe the working process with a database system.
ISC321 Database Systems I Chapter 4: SQL: Data definition, Constraints, and Basic Queries and Updates Fall 2015 Dr. Abdullah Almutairi.
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
1. Explain the following concepts of the ER data model:
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
Document database … one kind of NoSQL database
Text for section 1 1 Text for section 2 2 Text for section 3 3
SQL Grouping, Ordering & Arithmetics Presented by: Dr. Samir Tartir
Text for section 1 1 Text for section 2 2 Text for section 3 3
SQL: Set Operations & Nested Queries. Presented by: Dr. Samir Tartir
Text for section 1 1 Text for section 2 2 Text for section 3 3
Answers to Midterm - Exam. Feb. 28, 2018
Answers to Midterm - Exam. Feb. 27, 2006
Presentation transcript:

1Fundamentals of Database Systems 기본키에 밑줄을 그은 COMPANY 관계 데이타베이스 스키마 FNAMEMINITLNAMESSNBDATEADDRESSSEXSALARYSUPERSSNDNO EMPLOYEE DNAMEDNUMBERMGRSSNMGRSTARTDATE DEPARTMENT DNUMBERDLOCATION DEPT_LOCATION PNAMEPNUMBERPLOCATIONDNUM PROJECT ESSNPNOHOURS WORKS_ON ESSNDEPENDENT_NAMESEX DEPENDENT BDATERELATIONSHIP

2Fundamentals of Database Systems COMPANY 스키마의 관계 데이타베이스 상태 EMPLOYEE FNAME John Franklin Alicia Jennifer Ramesh Joyce Ahmad James MINIT B T J S K A V E LNAME Smith Wong Zelaya Wallace Narayn English Jabbar Borg SSN BDATE 09-JAN DEC JUL JUN SEP JUL MAR NOV-27 ADDRESS 731 Fondren, Houston, TX 638 Voss, Houston, TX 3321 Castle, Spring, TX 291 Berry, Bellaire, TX 975 Fire Oak, Humble, TX 5631 Rice, Houston, TX 980 Dallas, Houston, TX 450 Stone, Houston, TX SEX M F M F M SALARY SUPERSSN null DNO DEPARTMENT DNAME Research Administration Headquarters DNUMBER MGRSSN MGRSTARTDATE 22-MAY JAN JUN-71 DEPT_LOCATIONS DNUMBER DLOCATION Houston Stafford Bellaire Sugarland Houston

3Fundamentals of Database Systems COMPANY 스키마의 관계 데이타베이스 상태 (cont.) WORKS_ON ESSN PNO HOURS null PROJECT PNAME ProductX ProductY ProductZ Computerization Reorganization Newbenefits PNUMBER PLOCATION Bellaire Sugarland Houston Stafford Houston Stafford DNUM DEPENDENT ESSN DEPENDENT_NAME Alice Theodore Joy Abner Michael Allice Elizabeth SEX F M F M F BDATE 05-APR OCT MAY FEB JAN DEC MAY-57 RELATIONSHIP DAUGHTER SON SPOUSE SON DAUGHTER SPOUSE

4Fundamentals of Database Systems COMPANY 데이타베이스 스키마에 표시된 참조 무결성 제약 조건들 FNAMEMINITLNAMESSNBDATEADDRESSSEXSALARYSUPERSSNDNO EMPLOYEE DNAMEDNUMBERMGRSSNMGRSTARTDATE DEPARTMENT DNUMBERDLOCATION DEPT_LOCATION PNAMEPNUMBERPLOCATIONDNUM PROJECT ESSNPNOHOURS WORKS_ON ESSNDEPENDENT_NAMESEX DEPENDENT BDATERELATIONSHIP 외래키는  동일한  릴레이션의  애트리뷰트를  참조할  수도  있음