Introduction to MS Access: creating tables, keys, and relationships
|
|
- Kathlyn Hunt
- 6 years ago
- Views:
Transcription
1 Introduction to MS Access: creating tables, keys, and relationships BSAD 141 Dave Novak Topics Covered Brief introduction to MS Access Name and save a DB file Create tables and keys Create and enforce relationships Convert a partial ERD to design in Access Examples of both entity integrity and referential integrity using Access Example Important to note! If you are having trouble keeping up with the lecture or having some type of technical problems, you may need to read through the book and notes and work through the examples These will walk you through the basic features in MS Access and guide you through table and key creation as well as how to create relationships between tables Example: Partial ERD Consider a relationship between a manager and a project Assume the following: Each manager can manage up to 5 different projects simultaneously Each manager must manage at least one project Each project is assigned to only 1 manager (there are no co-manager leads on the project) When entered into the DBMS, each project must be assigned to a manager Example: Partial ERD Draw the partial ERD discuss degree, connectivity, and existence Two Types of RDBMS Integrity Rules 1) Entity Integrity Guarantees each entity (where each row in a table represents a unique entity) has a valid and unique PK (no missing or repeat values) 2) Referential Integrity All FK values (on the many side of the relationship) must first exist in the parent table (values must be first be entered conform to entity integrity on the one side of the relationship) 1
2 Two Types of RDBMS Integrity Rules In practice this means that once you have established the correct relationships between the tables in relational DB, enter the data for all tables on the ONE side of the relationship before entering any data for any table on the MANY side of the relationship Building Tables in Access Create a DB file called class-example1 Build 2 separate tables that correspond to the partial ERD you just drew Attributes for (ID, FirstName, LastName, Address, Salary) Attributes for Project (ProjectID, ProjectName, Duration, Phase) Model the relationship in Access and enforce referential integrity Building Tables in Access 1) Create the shell or empty tables to begin with 2) Specify the data type for each attribute (ID (txt), FirstName (txt), LastName (txt), Address (txt), Salary (currency)) Project (ProjectID (txt), ProjectName (txt), Duration (txt), Phase(txt)) Link the tables using a Foreign Key Using our ERD and what you know about the location of Foreign Keys FK: Which table does the FK appear in? What is the FK attribute? Go into design view and add the FK attribute Enter Data in Table: Entity Integrity Error Complete Table ID FirstName LastName Address Salary Mary Wells 1 North St. $78,000 ID FirstName LastName Address Salary Mary Wells 1 North St. $78,000 Just use 5 attributes and enter 3 records I give you You get an error message if you violate entity integrity rules 2
3 Enter Data in Project Table Project ProjectID ProjectName Duration Phase Populate the FK attribute: Referential Integrity Error Project PRJ-145 Health Care Database 14 months 2 PRJ-147 Traveler's Insurance Payroll System 26 months 1 PRJ-151 Capital Finance Highway 41 7 months 1 PRJ-187 Economic Analysis UVM Expansion 9 months 3 Just use the 4 attributes and enter the 4 records I give you! ProjectID ProjectName Duration Phase ID PRJ-145 Health Care Database 14 months Traveler's Insurance Payroll PRJ-147 System 26 months PRJ-151 Capital Finance Highway 41 7 months Economic Analysis UVM PRJ-187 Expansion 9 months We will end up with a referential integrity violation Referential Integrity One of the FK attribute values in the Project Table (the M side of the relationship) does not exist in the parent table (the Table the one side of the relationship). There is NO manager ID , so that ID value cannot be assigned to a project ID? ID FirstName LastName Address Salary Referential Integrity and Tables The specific value you enter for any FK attribute value must FIRST exist in the parent table Example: I cannot be assigned to teach a section of 141 (or any other class) if I am not first listed in the professor / teacher table You have a value for ID that exists in the table Mary Wells 1 North St. $78,000 A systematic process to control / reduce redundancy and improve integrity in a RDB that involves organize all data into tables and columns Minimize duplicate data Minimize or avoid data modification issues Simplify queries Typically a trade-off between higher levels of normalization and processing speed As redundancy is reduced, the time it takes the DBMS to process a query or extract data can increase Higher levels of normalization may not always be desired where processing speed is critical 3
4 Hrs Proj Proj# ProjName ProjStartDate Emp# EmpName EmpAddress JobClass HrBillRate Worked 15 UVM DB Design 10/15/ John Jones 14 Green St. Elect. Eng UVM DB Design 10/15/ Sally Smith 14 Green St. DB Designer Y 15 UVM DB Design 10/15/ Homer Simpson 34 Blue Ave. Sys Analyst Health Care Evaluation 7/1/ J. Jones 14 Green St. Elect. Eng Y 21 Health Care Evaluation 7/1/ Jill Wilson 876 Lake Rd. Programmer Health Care Evaluation 7/1/ Sally Smith 14 Green St. DSS Analyst Health Care Evaluation 7/1/ Homer Simpson 34 Blue Ave. DB Designer Roadway B/C 9/15/ Sally Smith 14 Green St. Economist Y 30 Roadway B/C 9/15/ Jill Wilson 876 Lake Rd. Programmer We want to convert this single table DB file to a relational DBMS format There are clearly some redundancy issues with the data How do we address redundancy via normalization and organize the data into relational tables? Step 1 The current format is just an Excel worksheet, not a relational DBMS Identify attributes of each entity (or fields to be placed in each table) Step 2 Create tables and columns (attributes) needed to capture all data in a relational format Attributes and data related to a specific entity in one table and attributes and data related to another entity in a different table Design tables to minimize need to enter redundant information What do we do with attributes that pertain to both employee and project? Step 3 Consider relationship connectivity (1:M, M:M) may be a trial and error process What type of relationship best captures the data relationships we have here? Can employees work on more than 1 project at a time, or only 1 project at a time? Is each project staffed by only 1 employee, or can each project be staffed my multiple employees? We can tell by looking at the data in the Excel table Step 4 Draw the partial ERD 4
5 Summary Introduction to MS Access Name and save a DB file Create tables and keys Create and enforce relationships Convert a partial ERD to design in Access Examples of both entity integrity and referential integrity using Access Example 5
A hypothetical M:M student schedule example
A hypothetical : student schedule example We are interested in creating a relationship between two tables: Student and Class Section. We want to be able to be able to have students register for different
More informationBSAD 141, Fall 2017 In-class ERD exercise (Tuesday, 10/24)
BSAD 4, Fall 207 In-class ERD exercise (Tuesday, 0/24) Student / Course Section example: This example builds directly on the : example we discussed in class last week and is the last in-class example that
More informationFIT1004 Database Topic 6: Normalisation
FIT1004 Database Topic 6: Normalisation Learning Objectives: Understand the purpose of normalisation Understand the problems associated with redundant data Identify various types of update anomalies such
More informationData, Information, and Databases
Data, Information, and Databases BDIS 6.1 Topics Covered Information types: transactional vsanalytical Five characteristics of information quality Database versus a DBMS RDBMS: advantages and terminology
More informationPage 1 of 7. First tutorial: Second tutorial:
Page 1 of 7 First tutorial: Go over the requirements for A3 Second tutorial: Resource link (also available on the course web page see lecture topic section) https://support.office.com/en-us/article/design-and-build-tables-for-a-database-
More informationRelational Model History. COSC 304 Introduction to Database Systems. Relational Model and Algebra. Relational Model Definitions.
COSC 304 Introduction to Database Systems Relational Model and Algebra Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Relational Model History The relational model was
More informationRelational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity
COSC 416 NoSQL Databases Relational Model (Review) Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Relational Model History The relational model was proposed by E. F. Codd
More informationKing Fahd University of Petroleum and Minerals
1 King Fahd University of Petroleum and Minerals Information and Computer Science Department ICS 334: Database Systems Semester 041 Major Exam 1 18% ID: Name: Section: Grades Section Max Scored A 5 B 25
More informationEntity Relationship Diagrams and Relational DBs
Entity Relationship Diagrams and Relational DBs BSAD 4 Dave Novak Topics Covered ERD (entity relationship diagram) Data Modeling Entity vs- Entity set Attribute vs- Relationship Types of attributes and
More informationCSE 530A. ER Model to Relational Schema. Washington University Fall 2013
CSE 530A ER Model to Relational Schema Washington University Fall 2013 Relational Model A relational database consists of a group of relations (a.k.a., tables) A relation (table) is a set of tuples (rows)
More informationRelational Model. IT 5101 Introduction to Database Systems. J.G. Zheng Fall 2011
Relational Model IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 Overview What is the relational model? What are the most important practical elements of the relational model? 2 Introduction
More informationData Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau
Data Management Lecture Outline 2 Part 2 Instructor: Trevor Nadeau Data Entities, Attributes, and Items Entity: Things we store information about. (i.e. persons, places, objects, events, etc.) Have relationships
More informationConsistency The DBMS must ensure the database will always be in a consistent state. Whenever data is modified, the database will change from one
Data Management We start our studies of Computer Science with the problem of data storage and organization. Nowadays, we are inundated by data from all over. To name a few data sources in our lives, we
More informationRelational Data Model. Christopher Simpkins
Relational Data Model Christopher Simpkins 1 / 22 Relational Data Model A relation schema R(A a,..., A n ) is a relation name R and a list of attributes A 1,..., A n. Each attribute A i is the name of
More informationSQL Server 2008 Tutorial 3: Database Creation
SQL Server 2008 Tutorial 3: Database Creation IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 DDL Action in SQL Server Creating and modifying structures using the graphical interface Table
More informationDatabase Management Systems
Database Management Systems Associate Professor Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Computer Science Department 2015 2016 Department of Computer Science
More informationData 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 informationDatabase Management Systems
Database Management Systems Associate Professor Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Computer Science Department 2015 2016 Department of Computer Science
More informationCS317 File and Database Systems
CS317 File and Database Systems http://dilbert.com/strips/comic/2010-08-24/ Lecture 8 Introduction to Normalization October 17, 2017 Sam Siewert Exam #1 Questions? Reminders Working on Grading Ex #3 -
More informationEE221 Databases Practicals Manual
EE221 Databases Practicals Manual Lab 1 An Introduction to SQL Lab 2 Database Creation and Querying using SQL Assignment Data Analysis, Database Design, Implementation and Relation Normalisation School
More informationLecture 18. Business Intelligence and Data Warehousing. 1:M Normalization. M:M Normalization 11/1/2017. Topics Covered
Lecture 18 Business Intelligence and Data Warehousing BDIS 6.2 BSAD 141 Dave Novak Topics Covered Test # Review What is Business Intelligence? How can an organization be data rich and information poor?
More informationDATABASE DEVELOPMENT (H4)
IMIS HIGHER DIPLOMA QUALIFICATIONS DATABASE DEVELOPMENT (H4) Friday 3 rd June 2016 10:00hrs 13:00hrs DURATION: 3 HOURS Candidates should answer ALL the questions in Part A and THREE of the five questions
More informationIntroduction to Databases
Informática y Comunicaciones Chapter 6 Introduction to Databases KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright 2013 Pearson Education, Inc. Publishing as Prentice Hall Introduction to Databases
More informationDatabases. Purpose Of A Database. To store information
Databases In this section of notes you will learn about: different types of databases, how information is stored in databases, the different types of relations that can exist within a database and how
More informationDiscussion Focus. Figure 1
Discussion Focus Efficient data management typically requires the use of computer database. A database is a shared, integrated computer structure that stores a collection of: End-user data that is the
More informationER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1
ER Modeling ER Diagram ID-Dependent and Weak Entities Pg 1 ER Diagram ID-Dependent and Weak Entities Ray Lockwood Points: An ID-dependent entity is an entity whose identifier (key) includes the identifier
More informationDatabase Logical Design
Database Logical Design CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Relational model is a logical model Based on mathematical theories and rules Two ways to design a relational
More informationEntity Relationship Diagram (ERD) Dr. Moustafa Elazhary
Entity Relationship Diagram (ERD) Dr. Moustafa Elazhary Data Modeling Data modeling is a very vital as it is like creating a blueprint to build a house before the actual building takes place. It is built
More informationRelational Database Components
Relational Database Components Chapter 2 Class 01: Relational Database Components 1 Class 01: Relational Database Components 2 Conceptual Database Design Components Class 01: Relational Database Components
More informationIntroduction 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 informationDatabase Foundations. 5-1 Mapping Entities and Attributes. Copyright 2015, Oracle and/or its affiliates. All rights reserved.
Database Foundations 5-1 Road Map You are here Mapping Entities and Attributes Mapping Primary and Foreign Keys 3 Objectives This lesson covers the following objectives: Describe why you need to create
More informationCOMM 391. Objectives. Introduction to Microsoft Access. What is in an Access database file? Introduction to Microsoft Access 2010
Objectives COMM 391 Introduction to Management Information Systems Introduction to Microsoft Access 2010 Describe the major objects in Access database. Define field, record, table and database. Navigate
More informationNormalization in Databases
Normalization in Databases What is Normalization? Unnormalized data exists in flat files Normalization is the process of moving data into related tables This is usually done by running action queries (Make
More informationCHAPTER 6 SUMMARY. Objective 1: Identify Good Database Design
Objective 1: Identify Good Database Design CHAPTER 6 SUMMARY A database is an organized collection of data facts about people, events, things, or ideas related to a specific topic or purpose. Information
More information1.264 Lecture 7. Introduction to SQL
1.264 Lecture 7 Introduction to SQL Structured Query Language (SQL) Lecture 7: Data manipulation language (DML): SELECT, INSERT, DELETE, UPDATE Joins Lecture 8: DML continued, and data definition language
More informationDatabase Systems Relational Model. A.R. Hurson 323 CS Building
Relational Model A.R. Hurson 323 CS Building Relational data model Database is represented by a set of tables (relations), in which a row (tuple) represents an entity (object, record) and a column corresponds
More informationCS2300: File Structures and Introduction to Database Systems
CS2300: File Structures and Introduction to Database Systems Lecture 9: Relational Model & Relational Algebra Doug McGeehan 1 Brief Review Relational model concepts Informal Terms Formal Terms Table Relation
More informationAvancier Methods (AM) From logical model to physical database
Methods (AM) From logical model to physical database Data structures It is illegal to copy, share or show this document (or other document published at http://avancier.co.uk) without the written permission
More informationDatabase Logical Design
Database Logical Design IT 5101 Introduction to Database Systems J.G. Zheng Fall 2011 Overview Relational model is a logical model Based on mathematical theories and rules Two ways to design a relational
More informationDatabase 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 informationLogical Database Design. ICT285 Databases: Topic 06
Logical Database Design ICT285 Databases: Topic 06 1. What is Logical Database Design? Why bother? Bad logical database design results in bad physical database design, and generally results in poor database
More informationThe Relational Model Constraints and SQL DDL
The Relational Model Constraints and SQL DDL Week 2-3 Weeks 2-3 MIE253-Consens 1 Schedule Week Date Lecture Topic 1 Jan 9 Introduction to Data Management 2 Jan 16 The Relational Model 3 Jan. 23 Constraints
More informationDatabase Design and Administration for OnBase WorkView Solutions. Mike Martel Senior Project Manager
Database Design and Administration for OnBase WorkView Solutions Mike Martel Senior Project Manager 1. Solution Design vs. Database Design Agenda 2. Data Modeling/Design Concepts 3. ERD Diagramming Labs
More informationCMP-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 informationOuter Join, More on SQL Constraints
Outer Join, More on SQL Constraints CS430/630 Lecture 10 Slides based on Database Management Systems 3 rd ed, Ramakrishnan and Gehrke Outer Joins Include in join result non-matching tuples Result tuple
More informationCOVENTRY UNIVERSITY. A.L.L. Project 3. Database Project. Jordan Bignell, Robert Bowry, Muhammed Abba Ismail, Emmanuel Idowu.
Project III for A.L.L. COVENTRY UNIVERSITY A.L.L. Project 3 Database Project Jordan Bignell, Robert Bowry, Muhammed Abba Ismail, Emmanuel Idowu 7 th March 2015 Contribution to the A.L.L. Project 3 Report
More informationScore. 1 (10) 2 (10) 3 (8) 4 (13) 5 (9) Total (50)
Student number: Signature: UNIVERSITY OF VICTORIA Faculty of Engineering Department of Computer Science CSC 370 (Database Systems) Instructor: Daniel M. German Midterm 18 June 2003 Duration: 75 minutes
More informationSUMMER EXAMINATIONS 2013
SUMMER EXAMINATIONS 2013 CSY202913N MODULE TITLE Database Technology 1 LEVEL TIME ALLOWED Five Two Hours Instructions to students: Enter your student number not your name on all answer booklets. You are
More informationAdvanced SQL GROUP BY Clause and Aggregate Functions Pg 1
Advanced SQL Clause and Functions Pg 1 Clause and Functions Ray Lockwood Points: s (such as COUNT( ) work on groups of Instead of returning every row read from a table, we can aggregate rows together using
More informationRelational model. Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c)
Relational model Jaroslav Porubän, Miroslav Biňas, Milan Nosáľ (c) 2011-2016 Relational database model Data are represented as a mathematical relation (subset of cartesian product) of attribute domains
More informationRelational terminology. Databases - Sets & Relations. Sets. Membership
Relational terminology Databases - & Much of the power of relational databases comes from the fact that they can be described analysed mathematically. In particular, queries can be expressed with absolute
More information22/01/2018. Data Management. Data Entities, Attributes, and Items. Data Entities, Attributes, and Items. ACS-1803 Introduction to Information Systems
ACS-1803 Introduction to Information Systems Instructor: Kerry Augustine Data Management Lecture Outline 2, Part 2 ACS-1803 Introduction to Information Systems Data Entities, Attributes, and Items Entity:
More informationIntroduction to Computer Applications. CISY 1225 Chapter 10. Zahoor Khan, PhD
Introduction to Computer Applications CISY 1225 Chapter 10 Zahoor Khan, PhD Last updated: May 2014 No new topics I will not be here Next Week Mashtura will help you Class time is for practice Do your own
More informationACS-1803 Introduction to Information Systems. Instructor: Kerry Augustine. Data Management. Lecture Outline 2, Part 2
ACS-1803 Introduction to Information Systems Instructor: Kerry Augustine Data Management Lecture Outline 2, Part 2 ACS-1803 Introduction to Information Systems Data Entities, Attributes, and Items Entity:
More informationPES 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 informationIntroduction to Relational Database Concepts. Copyright 2011, Oracle. All rights reserved.
Introduction to Relational Database Concepts Copyright 2011, Oracle. All rights reserved. What Will I Learn? Objectives In this lesson, you will learn to: Define a primary key Define a foreign key Define
More informationHome Page. Title Page. Page 1 of 14. Go Back. Full Screen. Close. Quit
Page 1 of 14 A BCNF Normalisation Algorithm Input: A specification containing: 1. a relation schema, R, and 2. a set of Functional Dependencies (FDs), F over R. An Entity-relationship Diagram (ERD) conforming
More informationTeaching Scheme BIT/MMC/BCS Database Systems 1
Teaching Scheme BIT/MMC/BCS Database Systems 1 Level : 1 Year : 2000 2001 Konstantina Lepinioti (tlepinio@bournemouth.ac.uk) Melanie Coles (mcoles@bournemouth.ac.uk) Autumn Term Week Lecture Seminar/Lab
More informationTo build students capabilities on data modeling
17 th September 2015 Unit 1 Objective To build students capabilities on data modeling Learning outcome We expect clear understanding of the 3basic model. Type1: Flat model Type 2: Entity-Relationship Model
More informationNorthern India Engineering College, New Delhi Question Bank Database Management System. B. Tech. Mechanical & Automation Engineering V Semester
1. List four significant differences between a file-processing system and a DBMS. 2. Explain the difference between physical and logical data independence. 3. What are five main functions of a database
More informationWhat is Data? ANSI definition: Volatile vs. persistent data. Data. Our concern is primarily with persistent data
What is Data? ANSI definition: Data ❶ A representation of facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means.
More informationWhat is Data? Volatile vs. persistent data Our concern is primarily with persistent data
What is? ANSI definition: ❶ A representation of facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means. ❷ Any
More informationBabu Madhav Institute of Information Technology 2015
Paper No.:060010102 Subject: Database Management Systems (Practical) Program: 5 Years Integrated M.Sc.(IT) Semester: 01 Practical No: 1 Enrolment No: Practical Problem Create following tables: CLIENT_MASTER
More informationData, Databases, and DBMSs
Todd S. Bacastow January 2004 IST 210 Data, Databases, and DBMSs 1 Evolution Ways of storing data Files ancient times (1960) Databases Hierarchical (1970) Network (1970) Relational (1980) Object (1990)
More informationnamib 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 informationIntroduction to Database Management Systems
Relational Data Model Relational Data Model 1 o Relations o Attributes o Tuples o Relations o Primary Keys o Objectives o Comparison to other models o Components o Relation Properties o Kinds of Relations
More informationIntroductory SQL SQL Joins: Viewing Relationships Pg 1
Introductory SQL SQL Joins: Viewing Relationships Pg 1 SQL Joins: Viewing Relationships Ray Lockwood Points: The relational model uses foreign keys to establish relationships between tables. SQL uses Joins
More information1D D0-541 CIW v5 Database Design Specialist Version 1.7
1D0-541 CIW v5 Database Design Specialist Version 1.7 QUESTION NO: 1 With regard to databases, what is normalization? A. The process of reducing the cardinality of a relation B. The process of organizing
More informationThe 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 informationDatabase 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 informationIn This Lecture. The Relational Model. The Relational Model. Relational Data Structure. Unnamed and named tuples. New thing:scheme (and attributes)
Database Systems Lecture 3 Natasha Alechina In This Lecture Relational data integrity For more information Connolly and Begg chapter 3 E.F. Codd s paper `A Relational Model of Data for Large Shared Data
More informationSankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment
Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment Introductory concepts of DBMS 1. Explain detailed 3-level architecture
More informationAccess Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships Microsoft Office 2013 Objectives Session 2.1 Learn the guidelines for designing databases and setting field properties Create a table
More informationRelational Databases Overview
Relational Databases Overview Full Description of the Relational Model Mapping ER diagrams to the Relational Model Integrity Constraints and the Relational Model Querying A Relational Database The Relational
More informationOverview of Data Management
Overview of Data Management School of Computer Science University of Waterloo Databases CS348 (University of Waterloo) Overview of Data Management 1 / 21 What is Data ANSI definition of data: 1 A representation
More informationSECTION 1 DBMS LAB 1.0 INTRODUCTION 1.1 OBJECTIVES 1.2 INTRODUCTION TO MS-ACCESS. Structure Page No.
SECTION 1 DBMS LAB DBMS Lab Structure Page No. 1.0 Introduction 05 1.1 Objectives 05 1.2 Introduction to MS-Access 05 1.3 Database Creation 13 1.4 Use of DBMS Tools/ Client-Server Mode 15 1.5 Forms and
More information3.1. Keys: Super Key, Candidate Key, Primary Key, Alternate Key, Foreign Key
Unit 3: Types of Keys & Data Integrity 3.1. Keys: Super Key, Candidate Key, Primary Key, Alternate Key, Foreign Key Different Types of SQL Keys A key is a single or combination of multiple fields in a
More informationKASBO Fall 2014 Session 4T Excel for Munis Payroll (Lab) Presenter: Sheila Miller, KDE Business Analyst
KASBO Fall 2014 Session 4T Excel for Munis Payroll (Lab) Presenter: Sheila Miller, KDE Business Analyst Session Prerequisites 1. You will be accessing Munis so make sure you know your Munis login ID and
More informationEntity 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پوهنتون کابل پوهنحی كمپيوترساینس پوهنیار محمد شعیب "زرین خیل"
پوهنتون کابل پوهنحی كمپيوترساینس : : تهیه کننده سال پوهنیار محمد شعیب "زرین خیل" 1389 Introduction to Database and Data Models - Relational Model 08 By: M Shuaib Zarinkhail 2010 Referential Integrity Constraint
More informationVS2010 C# Programming - DB intro 1
VS2010 C# Programming - DB intro 1 Topics Database Relational - linked tables SQL ADO.NET objects Referencing Data Using the Wizard Displaying data 1 VS2010 C# Programming - DB intro 2 Database A collection
More informationAccounting Information Systems, 2e (Kay/Ovlia) Chapter 2 Accounting Databases. Objective 1
Accounting Information Systems, 2e (Kay/Ovlia) Chapter 2 Accounting Databases Objective 1 1) One of the disadvantages of a relational database is that we can enter data once into the database, and then
More informationDatabase Systems ( 資料庫系統 )
Database Systems ( 資料庫系統 ) 9.28.2011 Lecture #3 1 Course Administration Please download HW #1 from course homepage It is due 10/12/2011. This lecture: R&G Chapter 3 Next week reading: R&G Chapter 41~ 4.1
More informationDistributed 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 informationER to Relational Model. Professor Jessica Lin
ER to Relational Model Professor Jessica Lin 1 Reduction to Relation Schemas Entity sets and relationship sets can be expressed uniformly as relation schemas that represent the contents of the database.
More informationObjectives 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 informationLearning Unit 1 CHECK POINT 1 CHECK POINT 2
Learning Unit 1 CHECK POINT 1 1. A relation is a table in a relational database. It is represented as a list of fields following the table name and the field that is the primary key is underlined. tablename(primary
More informationIn mathematical terms, the relation itself can be expressed simply in terms of the attributes it contains:
The Relational Model The relational data model organises data as 2-dimensional tables or relations. An example of one such relation would be STUDENT shown below. As we have seen in the wine list example,
More informationSUMMER EXAMINATIONS 2014
SUMMER EXAMINATIONS 2014 MODULE TITLE LEVEL TIME ALLOWED Database Architecture Four Two hours Instructions to students: Enter your student number not your name on all answer booklets. The exam is split
More informationSQL DATA DEFINITION: KEY CONSTRAINTS. CS121: Relational Databases Fall 2017 Lecture 7
SQL DATA DEFINITION: KEY CONSTRAINTS CS121: Relational Databases Fall 2017 Lecture 7 Data Definition 2 Covered most of SQL data manipulation operations Continue exploration of SQL data definition features
More informationLecture 01. Fall 2018 Borough of Manhattan Community College
Lecture 01 Fall 2018 Borough of Manhattan Community College 1 2 Introduction A database (DB) is a collection of related data. A database management system (DBMS) is the software that manages and controls
More informationGlobAl EDITION. Database Concepts SEVENTH EDITION. David M. Kroenke David J. Auer
GlobAl EDITION Database Concepts SEVENTH EDITION David M. Kroenke David J. Auer This page is intentionally left blank. Chapter 3 Structured Query Language 157 the comment. We will use similar comments
More informationHandout 6 CS-605 Spring 18 Page 1 of 7. Handout 6. Physical Database Modeling
Handout 6 CS-605 Spring 18 Page 1 of 7 Handout 6 Physical Database Modeling Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create
More informationLAB 2 Notes. Conceptual Design ER. Logical DB Design (relational) Schema Refinement. Physical DD
LAB 2 Notes For students that were not present in the first lab TA Web page updated : http://www.cs.ucr.edu/~cs166/ Mailing list Signup: http://www.cs.ucr.edu/mailman/listinfo/cs166 The general idea of
More informationWentworth Institute of Technology COMP570 Database Applications Fall 2014 Derbinsky. Physical Tuning. Lecture 10. Physical Tuning
Lecture 10 1 Context Influential Factors Knobs Denormalization Database Design Query Design Outline 2 Database Design and Implementation Process 3 Factors that Influence Attributes: Queries and Transactions
More informationMIS 2502 Access 2007 Tutorial
Introduction...1 1. Creating Tables...2 1. Table Relationships...8 2. Queries... 13 4. Parameterized Query... 25 5. Forms... 37 6. Form Controls... 45 7. Sub Forms for 1:M Relationships... 53 8. Sub Forms
More informationMS Access Let s begin by looking at the toolbar and menu of Access.
MS Access 2003 Access is a database program that allows you to store, retrieve, analyze, and print information. Individuals use databases for various purposes. Businesses use databases to manage customer
More informationUsing DDL Statements to Create and Manage Tables. Copyright 2006, Oracle. All rights reserved.
Using DDL Statements to Create and Manage Tables Objectives After completing this lesson, you should be able to do the following: Categorize the main database objects Review the table structure List the
More informationAssignment Grading Rubric
Final Project Outcomes addressed in this activity: Overview and Directions: 1. Create a new Empty Database called Final 2. CREATE TABLES The create table statements should work without errors, have the
More informationInformation Systems Development COMM005 (CSM03) Autumn Semester 2009
Information Systems Development COMM005 (CSM03) Autumn Semester 2009 Dr. Jonathan Y. Clark Email: j.y.clark@surrey.ac.uk Course Website: www.computing.surrey.ac.uk/courses/csm03/isdmain.htm Slide 1 Adapted
More information