CMPT 258 Database Systems Midterm Review. Regarding the Exam Oct 15 Thursday Close book Cheat sheet (1 side of an A4 paper)

Slides:



Advertisements
Similar presentations
ER to Relational Mapping. Logical DB Design: ER to Relational Entity sets to tables. CREATE TABLE Employees (ssn CHAR (11), name CHAR (20), lot INTEGER,
Advertisements

SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
CHAPTER Inequalities and so much more...
Chapter 4 Conceptual Modeling of Databases with Entity-Relationship Diagrams and the Unified Modeling Language.
1 Class Agenda – 09/20/2011  Answer questions about exam  Evaluate database design homework  Review database design homework for syntax and logic 
Structured Query Language Part II Chapter Three CIS 218.
RELATIONSHIP  THE WAY TABLES ARE RELATED  A TABLE MUST PARTICIPATE IN AT LEAST ONE RELATIONSHIP  IN A BINARY RELATIONSHIP TWO ENTITIES PARTICIPATE 
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
Saturday May 02 PST 4 PM. Saturday May 02 PST 10:00 PM.
Mapping of N:M Relationships PERSON-ID TITLE PERSON-NAME DATE-OF-BIRTH PERSON-ID PROJECT-ID HOURS-SPENT PROJECT-ID END-DATE START-DATE E-R Diagram PERSON.
SQL DDL constraints Restrictions on the columns and tables 1SQL DDL Constraints.
Implementing an REA Model in a Relational Database
Information Resources Management March 6, Agenda n Administrivia n SQL Part 2 n Homework #6.
Database Systems Lecture 5 Natasha Alechina
Database Design.  Define a table for each entity  Give the table the same name as the entity  Make the primary key the same as the identifier of the.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
1 Translating E/R Diagrams into Relational Schemas.
CS-1Q IM Revision 21 January Revision CS-1Q IM Lecture 10 Phil Gray Simon Gay.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Midterm Exam Chapters 1,2,3,5, 6,7 (closed book) March 11, 2014.
Concepts and Terminology Introduction to Database.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
SQL Structured Query Language Programming Course.
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
Revision Instructor: Mohamed Eltabakh 1.
Project Introduction, Exam 1 Review Rose-Hulman Institute of Technology Curt Clifton.
Implementing an REA Model in a Relational Database
© 2002 by Prentice Hall 1 Database Processing with Microsoft Access David M. Kroenke Database Concepts 1e Appendix A.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Chapter 10 Database Application Design David M. Kroenke Database Processing © 2000 Prentice Hall.
CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
SE305 Database System Technology 23/10/2014 Quiz-2.
1 CS 430 Database Theory Winter 2005 Lecture 15: How to Convert an ER Model to Relations.
Dec 8, 2003Murali Mani Constraints B term 2004: lecture 15.
Constraints cis 407 Types of Constraints & Naming Key Constraints Unique Constraints Check Constraints Default Constraints Misc Rules and Defaults Triggers.
SQL Structured Query Language. Aims  To introduce the implementation of a Physical design using SQL.  To introduce SQL Data Definition Language (DDL).
CMPT 258 Database Systems The Relationship Model PartII (Chapter 3)
Tallahassee, Florida, 2015 COP4710 Database Systems Midterm Review Fall 2015.
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
1 Announcements Reading for next week: Chapter 4 Your first homework will be assigned as soon as your database accounts have been set up.  Expect an .
CMPT 258 Database Systems Final Exam Review.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
WEEK# 12 Haifa Abulaiha November 02,
ER- Relational Mapping (Based on Chapter 9 in Fundamentals of Database Systems by Elmasri and Navathe, Ed. 3)
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
Chapter 14 Semantic Modeling. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.14-2 Topics in this Chapter The Overall Approach The E/R Model.
Warm-up March 4 In your notes, write the question below and answer them. Discuss your answer with your group mates and be ready to share. Based on your.
Chapter 3: Relational Databases
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
MIDTERM REVIEW IST 210 Organization of Data IST210 1.
CMPT 354 Database Management Systems Oliver Schulte
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
IST 210 Organization of Data
CSIS 115 Database Design and Applications for Business
Relational Database Design by ER- and EER-to- Relational Mapping
CSIS 115 Database Design and Applications for Business
CSIS 115 Database Design and Applications for Business
CSIS 115 Database Design and Applications for Business
Payroll Management System
SQL Data Modification Statements.
Order Database – ER Diagram
Workbench Data Definition Language (DDL)
مقدمة في قواعد البيانات
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
CS4433 Database Systems Midterm Review.
CS4222 Principles of Database System
Presentation transcript:

CMPT 258 Database Systems Midterm Review

Regarding the Exam Oct 15 Thursday Close book Cheat sheet (1 side of an A4 paper)

Tutors Available! Mondays 11 am - 12 pm Tuesdays 1 pm - 2 pm Wednesdays 2 pm to 3 pm Thursdays 12 pm - 1 pm RLC 203

Problem 1 ER diagram ▫Chapter 2 ▫Examples in class ▫Homework 1

Clearly mark all key and participation constraints. 1:N, M:N, etc. or an arrow  Double lines for total participation Double lined boxes for weak entities

Problem 2 SQL statements ▫CREATE, DROP, ALTER ▫INSERT, UPDATE, DELETE, SELECT ▫CREATE VIEW ▫Chapter 3 ▫Examples in class ▫Homework 2

Problem 3 Two questions Convert an ER diagram to SQL statements ▫CREATE TABLE … ▫Primary key constraints ▫Foreign key constraints ▫Rules to translate ER to relational model

8