What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3. A simple database Related objects Tables hold the data Forms, reports, queries to access the data.

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

Database Relationships in Access As you recall, the data in a database is stored in tables. In a relational database like Access, you can have multiple.
Forms. Use underlying tables n Owners form - add data to Owners table n Cats form - add data to Cats table n Record Source Property – Record source is.
Relationships Relational Database. Identifying Entities… In the previous tutorial you learnt about identifying entities in a flat file database. Also.
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
Database Theory Each Table in a Database needs a Primary Key Data TypesDescriptionExample TextCharacters (Letters, numbers and symbols) ABC 123 NumberNumerical.
Data Design The futureERD - CardinalityCODINGRelationshipsDefinition.
 To provide you with an overview of the aspects that make up a relational database.  This includes: › Tables › Records › Fields › Data types › Keys.
Table design screen Field name Data type Field size Other properties.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
© Steven Alter, 2007, all rights reserved Database concepts Difference between a database and the Internet Reason for having a defined data structure Relational.
Introduction to Database. File Formats Comma delimited file –"s1","peter",3 –"s2","paul",2.5 –"s3","mary",3.5 –Demo: Excel – Data/Import Extended Markup.
Table design screen Field name Data type Field size Other properties.
Databases and Database Management Systems
Case study Lisa’s Bookstore IST210.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
Mapping ERM to relational database
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
G057 - Lecture 02 Introduction To Database System Concepts Mr C Johnston ICT Teacher
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
Relational Databases (MS Access)
CS 101 – Access notes Databases (Microsoft Access) 4 parts of a database database design –Try to understand the ideas behind database design, not just.
Entity-Relationship Model. Entity-Relationship Mode What is it? What is it? –Technique for developing an informal organization of tables How does it work?
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Version: 2.0. Forenam e of parent Surname of parent Address 1 Address 2 Name of child Age of child School database example. Try adding a few rows for.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
What have we learned?. What is a database? An organized collection of related data.
What is a Database?. “A persistent & organised store of data. ” Persistent:  Non-volatile  Using secondary storage Organised:  Data organised into.
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Btec National - Advanced Databases 1 Advanced Databases Entity Relationship Diagrams.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 2 – Relationships and Lookup fields.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
 Primary keys allow entity sets and relationship sets to be expressed uniformly as relations  E/R diagram  collection of tables  For each entity set.
Quiz questions. 1 A data structure that is made up of fields and records? Table.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
D1 FMA Review. Many-to-Many Relationships - Examples Car Hire –A customer may hire one or more cars –A car may be hired by one or more customers Gym Club.
Link tables and keys Access/IPS Walsall College of Arts & Technology.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
Sample Table Standard Notation Entity name in uppercase
Btec National - IT SYSTEMS ANALYSIS AND DESIGN 1 IT Systems Analysis and Design Entity Relationship Diagrams.
Howard Paul. Sequential Access Index Files and Data File Random Access.
Mapping E/R to RM, R. Ramakrishnan and J. Gehrke with Dr. Eick’s additions 1 Mapping E/R Diagrams to Relational Database Schemas Second Half of Chapter.
Mapping ER to Relational Model Each strong entity set becomes a table. Each weak entity set also becomes a table by adding primary key of owner entity.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
IGCSE 4 Cambridge Designing a database table Computer Science
Databases – Exam questions
CSCI-100 Introduction to Computing
Databases and Information Management
Order Database – ER Diagram
Databases and Information Management
ICT Database Lesson 2 Designing a Database.
G061 - Data Dictionary.
Presentation transcript:

What we’ve learnt Doc 5.69 Doc 5.70 Section 1-3

A simple database Related objects Tables hold the data Forms, reports, queries to access the data

Database FADS Create FADS Create object in FADS, e.g Owners table, Ownersphone query Don’t need to create a new database for each new object Database FADS is container for objects

Wizards can help Tables for standard components e.g customers You can customise the standard components Report wizard generates reports Form Wizard generates forms

About tables Tell you about things (entities) Entities have characteristics (attributes) such as names, addresses, ages Attributes are represented by fields in the table Fields have data type - e.g number, dates. Access 97 provides default types, sizes - you can change them.

Keys Data in the table is held in records Each record must have a unique identifier - Primary Key Relationships between tables are represented by Foreign Keys e.g Cats table has a field Ownerid Ownerid is the primary key (unique identifier) of the owner in the Owners table.

Data Model Diagram CatsOwners Bookings

Queries that join tables Need data about Owners and Cats Vacbooster is a query that joins data from two tables Temporary data - called a dynaset Doesn’t change the data in the tables

Joining Tables Relationships allow you to combine data about more than one thing. E.g Cats and Owners, Students and staff, Suppliers and products. Owners/Cats relationship is Each Owner can own one or more cats One to Many relationship Must include the unique identifier of the one as foreign key in many