SlideShare una empresa de Scribd logo
1 de 71
BSYS 2060 Lecture 2 – Data Literacy & Data Modeling
We live in an information age where data is king.
Data often most valuable asset of a company e.g. Aeroplan worth more than Air Canada
We live in a data mash-up world.
Where does data belong?
Diaspora Many “fly by night” Web 2.0 apps Self-hosted Website containing all your data You don’t control the data at all You control completely Not so easy... convenient Trend is towards you controlling your data
Who owns data?
Building a database for an organization?
What is the organization’s mission?
What is the project’s mission?
What data is required to make good decisions or for other reporting needs?
What data is currently being collected?
How is the data collected being used?
What data should be collected?
What are the main data entities? These will become your tables
What are the required fields and field data types?
What are the relationships between the tables?
Select your tools? e.g. MS Access, MS SQL, MySQL, Oracle What is being used now if anything?
Be careful of the hammer! To a hammer, everything looks like a nail. If you only know MS Access, you may see always see MS Access as the solution even when it’s not. If you only know MS Excel, it seems like the perfect choice! Source: http://www.flickr.com/photos/fixersphotos/3199566032/
Normalization A brief introduction to the first three forms...
“Normalization” In the field of relational database design, normalization is a systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain undesirable characteristics—insertion, update, and deletion anomalies—that could lead to a loss of data integrity. Codd, E.F. The Relational Model for Database Management: Version 2. Addison-Wesley (1990), p. 271
“...insertion, update, and deletion anomalies...” Until a Course Code is assigned to this record, it can not be inserted in the table
“...insertion, update, and deletion anomalies...” An edit made to one record may not be made to ALL records for the same employee
“...insertion, update, and deletion anomalies...” If the Course Code is deleted the information for the Faculty Member will be lost.
Three Normal Forms 1NF Eliminate repeating groups No redundant data 2NF Eliminate independent data All fields depend on Primary Key 3NF Eliminate dependency on non-key fields Fields do not depend on each other
Un-Normalized Table (i.e. Excel)
First Normal Form (1NF) 0NF – “un-normalized” 1NF
Second Normal Form (2NF) 1NF 2NF
Third Normal Form (3NF) 2NF 3NF
Access Tutorial 2Building a Database and Defining Table Relationships
Objectives Learn the guidelines for designing databases and setting field properties View and modify field data types and formatting Create a table in Design view Define fields and specify a table’s primary key Modify the structure of a table New Perspectives on Microsoft Office Access 2007 41
Objectives Import data from an Excel worksheet Create a table by importing an existing table structure Delete, rename, and move fields Add data to a table by importing a text file Define a relationship between two tables New Perspectives on Microsoft Office Access 2007 42
Guidelines for Designing Databases Identify all the fields needed to produce the required information Organize each piece of data into its smallest useful part Group related fields into tables Determine each table’s primary key Include a common field in related tables Avoid data redundancy Determine the properties of each field New Perspectives on Microsoft Office Access 2007 43
Guidelines for Setting Field Properties You must name each field, table, and other object Choose an appropriate data type New Perspectives on Microsoft Office Access 2007 44
Guidelines for Setting Field Properties The Field Size property defines a field value’s maximum storage size for Text, Number, and AutoNumber fields only Byte Integer Long Integer Single Double Replication ID Decimal New Perspectives on Microsoft Office Access 2007 45
Viewing and Modifying Field Data Types and Formatting New Perspectives on Microsoft Office Access 2007 46
Creating a Table in Design View New Perspectives on Microsoft Office Access 2007 47
Defining a Field in Design View In the Field Name box, type the name for the field, and then press the Tab key Accept the default Text data type, or click the arrow and select a different data type for the field. Press the Tab key Enter an optional description for the field, if necessary Use the Field Properties pane to type or select other field properties, as appropriate New Perspectives on Microsoft Office Access 2007 48
Defining a Field in Design View New Perspectives on Microsoft Office Access 2007 49
Specifying the Primary Key in Design View In the Table window in Design view, click in the row for the field you’ve chosen to be the primary key. If the primary key will consist of two or more fields, click the row selector for the first field, press and hold down the Ctrl key, and then click the row selector for each additional primary key field In the Tools group on the Table Tools Design tab, click the Primary Key button New Perspectives on Microsoft Office Access 2007 50
Specifying the Primary Key in Design View New Perspectives on Microsoft Office Access 2007 51
Moving a Field To move a field, you use the mouse to drag it to a new location in the Table window in Design view New Perspectives on Microsoft Office Access 2007 52
Adding a Field Between Two Existing Fields In the Table window in Design view, select the row for the field above which you want to add a new field In the Tools group on the Table Tools Design tab, click the Insert Rows button Define the new field by entering the field name, data type, optional description, and any property specifications New Perspectives on Microsoft Office Access 2007 53
Adding a Field Between Two Existing Fields New Perspectives on Microsoft Office Access 2007 54
Importing Data from an Excel Worksheet The import process allows you to copy the data from a source without having to open the source file Click External Data on the Ribbon Click the Excel button in the Import group to start the wizard New Perspectives on Microsoft Office Access 2007 55
Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 56
Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 57
Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 58
Creating a Table by Importingan Existing Table Structure Make sure the External Data tab is the active tab on the Ribbon In the Import group, click the Access button Click the Browse button Navigate to the file Make sure the Import tables, queries, forms, reports, macros, and modules into the current database option button is selected, and then click the OK button Click the Options button New Perspectives on Microsoft Office Access 2007 59
Creating a Table by Importingan Existing Table Structure New Perspectives on Microsoft Office Access 2007 60
Deleting a Field from a Table Structure In Datasheet view, select the column heading for the field you want to delete In the Fields & Columns group on the Datasheet tab, click the Delete button or In Design view, click in the Field Name box for the field you want to delete In the Tools group on the Table Tools Design tab, click the Delete Rows button New Perspectives on Microsoft Office Access 2007 61
Deleting a Field from a Table Structure New Perspectives on Microsoft Office Access 2007 62
Adding Data to a Table by Importing a Text File Click the External Data tab on the Ribbon In the Import group, click the Text File button Click the Browse button Navigate to the file Click the Append a copy of the records to the table option button Select the table Click the OK button New Perspectives on Microsoft Office Access 2007 63
Adding Data to a Table by Importing a Text File New Perspectives on Microsoft Office Access 2007 64
Defining Table Relationships One of the most powerful features of a relational database management system is its ability to define relationships between tables You use a common field to relate one table to another New Perspectives on Microsoft Office Access 2007 65
Defining Table Relationships New Perspectives on Microsoft Office Access 2007 66
Defining Table Relationships A one-to-many relationship exists between two tables when one record in the first table matches zero, one, or many records in the second table, and when one record in the second table matches at most one record in the first table The Primary table is the “one” in a one-to-many relationship The Related table is the “many” table  New Perspectives on Microsoft Office Access 2007 67
Defining Table Relationships Referential integrity is a set of rules that Access enforces to maintain consistency between related tables when you update data in a database The Relationships window illustrates the relationships among a database’s tables Click the Database Tools tab on the Ribbon In the Show/Hide group on the Database Tools tab, click the Relationships button New Perspectives on Microsoft Office Access 2007 68
Defining Table Relationships New Perspectives on Microsoft Office Access 2007 69
Defining Table Relationships New Perspectives on Microsoft Office Access 2007 70
Defining Table Relationships New Perspectives on Microsoft Office Access 2007 71

Más contenido relacionado

La actualidad más candente

PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |Umesh Kumar
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms accessjigeno
 
Basic Access Notes
Basic Access NotesBasic Access Notes
Basic Access NotesPyi Soe
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksskomadina
 
Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Nitish Kumar
 
Access 2007-Datasheets 1-Create a table by entering data
Access 2007-Datasheets 1-Create a table by entering dataAccess 2007-Datasheets 1-Create a table by entering data
Access 2007-Datasheets 1-Create a table by entering dataOklahoma Dept. Mental Health
 
Acccesss notes
Acccesss notesAcccesss notes
Acccesss notesart02
 
Microsoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMicrosoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMarc Morgenstern
 
Access lesson 03 Creating Queries
Access lesson 03 Creating QueriesAccess lesson 03 Creating Queries
Access lesson 03 Creating QueriesAram SE
 
Microsoft Excel 2007: Create Your First Workbook
Microsoft Excel 2007: Create Your First WorkbookMicrosoft Excel 2007: Create Your First Workbook
Microsoft Excel 2007: Create Your First Workbookomoviejohn
 
Microsoft excel 2013 Quickstart
Microsoft excel 2013 QuickstartMicrosoft excel 2013 Quickstart
Microsoft excel 2013 Quickstartcomatsg
 
Access lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAccess lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAram SE
 
Access lesson05
Access lesson05Access lesson05
Access lesson05Aram SE
 
Access lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying FormsAccess lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying FormsAram SE
 
Introduction to microsoft access
Introduction to microsoft accessIntroduction to microsoft access
Introduction to microsoft accessHardik Patel
 

La actualidad más candente (19)

PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |PPT On MS-Access 2007 | Full Concepts |
PPT On MS-Access 2007 | Full Concepts |
 
Basic introduction to ms access
Basic introduction to ms accessBasic introduction to ms access
Basic introduction to ms access
 
Basic Access Notes
Basic Access NotesBasic Access Notes
Basic Access Notes
 
MS Access 2007 in ITT
MS Access 2007 in ITTMS Access 2007 in ITT
MS Access 2007 in ITT
 
MS EXCEL 2007
MS EXCEL 2007MS EXCEL 2007
MS EXCEL 2007
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
 
Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010Pagelayout & data tab of ms excel 2010
Pagelayout & data tab of ms excel 2010
 
Access 2007-Datasheets 1-Create a table by entering data
Access 2007-Datasheets 1-Create a table by entering dataAccess 2007-Datasheets 1-Create a table by entering data
Access 2007-Datasheets 1-Create a table by entering data
 
Excel2007
Excel2007Excel2007
Excel2007
 
Acccesss notes
Acccesss notesAcccesss notes
Acccesss notes
 
Microsoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And FilteringMicrosoft Office Excel 2003 Sorting And Filtering
Microsoft Office Excel 2003 Sorting And Filtering
 
Access 2010
Access 2010Access 2010
Access 2010
 
Access lesson 03 Creating Queries
Access lesson 03 Creating QueriesAccess lesson 03 Creating Queries
Access lesson 03 Creating Queries
 
Microsoft Excel 2007: Create Your First Workbook
Microsoft Excel 2007: Create Your First WorkbookMicrosoft Excel 2007: Create Your First Workbook
Microsoft Excel 2007: Create Your First Workbook
 
Microsoft excel 2013 Quickstart
Microsoft excel 2013 QuickstartMicrosoft excel 2013 Quickstart
Microsoft excel 2013 Quickstart
 
Access lesson 02 Creating a Database
Access lesson 02 Creating a DatabaseAccess lesson 02 Creating a Database
Access lesson 02 Creating a Database
 
Access lesson05
Access lesson05Access lesson05
Access lesson05
 
Access lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying FormsAccess lesson 04 Creating and Modifying Forms
Access lesson 04 Creating and Modifying Forms
 
Introduction to microsoft access
Introduction to microsoft accessIntroduction to microsoft access
Introduction to microsoft access
 

Similar a BSYS 2060 Lecture 2 - Data Literacy & Data Modeling

creating data
creating datacreating data
creating datasabinji
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxEsubalew21
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxEsubalew21
 
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptMS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptJoshCasas1
 
Access Basics 01
Access Basics 01Access Basics 01
Access Basics 01Lets try
 
Chapter.10
Chapter.10Chapter.10
Chapter.10klivsie
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.pptsatgup78
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxmariuse18nolet
 
New Perspectives: Access.02
New Perspectives: Access.02New Perspectives: Access.02
New Perspectives: Access.02Anna Stirling
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 AccessD
 
access1.ppt
access1.pptaccess1.ppt
access1.pptmayada34
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 AccessD
 

Similar a BSYS 2060 Lecture 2 - Data Literacy & Data Modeling (20)

creating data
creating datacreating data
creating data
 
Module 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptxModule 08 Access & Use Database Application.pptx
Module 08 Access & Use Database Application.pptx
 
Operate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptxOperate Spreadsheet applications ppt.pptx
Operate Spreadsheet applications ppt.pptx
 
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.pptMS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
MS ACCESS DEFINING DESIGN VIEW AND DATASHEET VIEW.ppt
 
a2-110.ppt
a2-110.ppta2-110.ppt
a2-110.ppt
 
Access Basics 01
Access Basics 01Access Basics 01
Access Basics 01
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
 
Chapter.10
Chapter.10Chapter.10
Chapter.10
 
HARJOT.ppt
HARJOT.pptHARJOT.ppt
HARJOT.ppt
 
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docxINTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
INTRODUCTION TO ACCESSOBJECTIVESDefine th.docx
 
Access 2007 Unit A
Access 2007 Unit AAccess 2007 Unit A
Access 2007 Unit A
 
New Perspectives: Access.02
New Perspectives: Access.02New Perspectives: Access.02
New Perspectives: Access.02
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
 
Access.05
Access.05Access.05
Access.05
 
MS ACCESS PPT.pptx
MS ACCESS PPT.pptxMS ACCESS PPT.pptx
MS ACCESS PPT.pptx
 
Ms excel 2007
Ms excel 2007Ms excel 2007
Ms excel 2007
 
access1.ppt
access1.pptaccess1.ppt
access1.ppt
 
Access Introduction
Access IntroductionAccess Introduction
Access Introduction
 
Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
 
Ms Access
Ms AccessMs Access
Ms Access
 

Más de Cyri Jones

Introduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerIntroduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerCyri Jones
 
Angel forum slides april 23 pdf
Angel forum slides april 23 pdfAngel forum slides april 23 pdf
Angel forum slides april 23 pdfCyri Jones
 
Zen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedZen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedCyri Jones
 
Presentation to trec august 23
Presentation to trec august 23Presentation to trec august 23
Presentation to trec august 23Cyri Jones
 
Bsys 1000 fall 2012 week 2 lecture slides
Bsys 1000 fall 2012 week 2 lecture slidesBsys 1000 fall 2012 week 2 lecture slides
Bsys 1000 fall 2012 week 2 lecture slidesCyri Jones
 
Bsys 1000-fall-2012-week-1-lecture-slides
Bsys 1000-fall-2012-week-1-lecture-slidesBsys 1000-fall-2012-week-1-lecture-slides
Bsys 1000-fall-2012-week-1-lecture-slidesCyri Jones
 
Environmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedEnvironmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedCyri Jones
 
Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Cyri Jones
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Cyri Jones
 
Lecture2 slides-march-29
Lecture2 slides-march-29Lecture2 slides-march-29
Lecture2 slides-march-29Cyri Jones
 
Setting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioSetting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioCyri Jones
 
Adding a-featured-image-to-a-post
Adding a-featured-image-to-a-postAdding a-featured-image-to-a-post
Adding a-featured-image-to-a-postCyri Jones
 
Adding a-project-showcase-posting
Adding a-project-showcase-postingAdding a-project-showcase-posting
Adding a-project-showcase-postingCyri Jones
 
Changing your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosChanging your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosCyri Jones
 
Adding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarAdding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarCyri Jones
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Cyri Jones
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseCyri Jones
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseCyri Jones
 
Instructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosInstructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosCyri Jones
 
Team collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsTeam collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsCyri Jones
 

Más de Cyri Jones (20)

Introduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printerIntroduction to selecting and buying a 3D printer
Introduction to selecting and buying a 3D printer
 
Angel forum slides april 23 pdf
Angel forum slides april 23 pdfAngel forum slides april 23 pdf
Angel forum slides april 23 pdf
 
Zen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revisedZen portfolios Sept 5th 2013 presentation revised
Zen portfolios Sept 5th 2013 presentation revised
 
Presentation to trec august 23
Presentation to trec august 23Presentation to trec august 23
Presentation to trec august 23
 
Bsys 1000 fall 2012 week 2 lecture slides
Bsys 1000 fall 2012 week 2 lecture slidesBsys 1000 fall 2012 week 2 lecture slides
Bsys 1000 fall 2012 week 2 lecture slides
 
Bsys 1000-fall-2012-week-1-lecture-slides
Bsys 1000-fall-2012-week-1-lecture-slidesBsys 1000-fall-2012-week-1-lecture-slides
Bsys 1000-fall-2012-week-1-lecture-slides
 
Environmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revisedEnvironmental scan summary june 13 2012 it4 k12 revised
Environmental scan summary june 13 2012 it4 k12 revised
 
Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5Opmt 4438 results values exercise week 5
Opmt 4438 results values exercise week 5
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011
 
Lecture2 slides-march-29
Lecture2 slides-march-29Lecture2 slides-march-29
Lecture2 slides-march-29
 
Setting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolioSetting up-google-analytics-tracking-on-your-zen-portfolio
Setting up-google-analytics-tracking-on-your-zen-portfolio
 
Adding a-featured-image-to-a-post
Adding a-featured-image-to-a-postAdding a-featured-image-to-a-post
Adding a-featured-image-to-a-post
 
Adding a-project-showcase-posting
Adding a-project-showcase-postingAdding a-project-showcase-posting
Adding a-project-showcase-posting
 
Changing your display name on ZEN Portfolios
Changing your display name on ZEN PortfoliosChanging your display name on ZEN Portfolios
Changing your display name on ZEN Portfolios
 
Adding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatarAdding or modifying zen portfolios avatar
Adding or modifying zen portfolios avatar
 
Erac presentation jan 10th 2011
Erac presentation jan 10th 2011Erac presentation jan 10th 2011
Erac presentation jan 10th 2011
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcase
 
Add you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcaseAdd you-tube-video-to-project-showcase
Add you-tube-video-to-project-showcase
 
Instructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfoliosInstructions for setting up projects using zen portfolios
Instructions for setting up projects using zen portfolios
 
Team collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructionsTeam collaboration-site-set-up-instructions
Team collaboration-site-set-up-instructions
 

Último

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Último (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

BSYS 2060 Lecture 2 - Data Literacy & Data Modeling

  • 1. BSYS 2060 Lecture 2 – Data Literacy & Data Modeling
  • 2. We live in an information age where data is king.
  • 3. Data often most valuable asset of a company e.g. Aeroplan worth more than Air Canada
  • 4. We live in a data mash-up world.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Where does data belong?
  • 10. Diaspora Many “fly by night” Web 2.0 apps Self-hosted Website containing all your data You don’t control the data at all You control completely Not so easy... convenient Trend is towards you controlling your data
  • 11.
  • 12.
  • 13.
  • 14.
  • 16.
  • 17. Building a database for an organization?
  • 18. What is the organization’s mission?
  • 19. What is the project’s mission?
  • 20. What data is required to make good decisions or for other reporting needs?
  • 21. What data is currently being collected?
  • 22. How is the data collected being used?
  • 23. What data should be collected?
  • 24. What are the main data entities? These will become your tables
  • 25. What are the required fields and field data types?
  • 26. What are the relationships between the tables?
  • 27. Select your tools? e.g. MS Access, MS SQL, MySQL, Oracle What is being used now if anything?
  • 28. Be careful of the hammer! To a hammer, everything looks like a nail. If you only know MS Access, you may see always see MS Access as the solution even when it’s not. If you only know MS Excel, it seems like the perfect choice! Source: http://www.flickr.com/photos/fixersphotos/3199566032/
  • 29. Normalization A brief introduction to the first three forms...
  • 30. “Normalization” In the field of relational database design, normalization is a systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain undesirable characteristics—insertion, update, and deletion anomalies—that could lead to a loss of data integrity. Codd, E.F. The Relational Model for Database Management: Version 2. Addison-Wesley (1990), p. 271
  • 31.
  • 32. “...insertion, update, and deletion anomalies...” Until a Course Code is assigned to this record, it can not be inserted in the table
  • 33. “...insertion, update, and deletion anomalies...” An edit made to one record may not be made to ALL records for the same employee
  • 34. “...insertion, update, and deletion anomalies...” If the Course Code is deleted the information for the Faculty Member will be lost.
  • 35. Three Normal Forms 1NF Eliminate repeating groups No redundant data 2NF Eliminate independent data All fields depend on Primary Key 3NF Eliminate dependency on non-key fields Fields do not depend on each other
  • 37. First Normal Form (1NF) 0NF – “un-normalized” 1NF
  • 38. Second Normal Form (2NF) 1NF 2NF
  • 39. Third Normal Form (3NF) 2NF 3NF
  • 40. Access Tutorial 2Building a Database and Defining Table Relationships
  • 41. Objectives Learn the guidelines for designing databases and setting field properties View and modify field data types and formatting Create a table in Design view Define fields and specify a table’s primary key Modify the structure of a table New Perspectives on Microsoft Office Access 2007 41
  • 42. Objectives Import data from an Excel worksheet Create a table by importing an existing table structure Delete, rename, and move fields Add data to a table by importing a text file Define a relationship between two tables New Perspectives on Microsoft Office Access 2007 42
  • 43. Guidelines for Designing Databases Identify all the fields needed to produce the required information Organize each piece of data into its smallest useful part Group related fields into tables Determine each table’s primary key Include a common field in related tables Avoid data redundancy Determine the properties of each field New Perspectives on Microsoft Office Access 2007 43
  • 44. Guidelines for Setting Field Properties You must name each field, table, and other object Choose an appropriate data type New Perspectives on Microsoft Office Access 2007 44
  • 45. Guidelines for Setting Field Properties The Field Size property defines a field value’s maximum storage size for Text, Number, and AutoNumber fields only Byte Integer Long Integer Single Double Replication ID Decimal New Perspectives on Microsoft Office Access 2007 45
  • 46. Viewing and Modifying Field Data Types and Formatting New Perspectives on Microsoft Office Access 2007 46
  • 47. Creating a Table in Design View New Perspectives on Microsoft Office Access 2007 47
  • 48. Defining a Field in Design View In the Field Name box, type the name for the field, and then press the Tab key Accept the default Text data type, or click the arrow and select a different data type for the field. Press the Tab key Enter an optional description for the field, if necessary Use the Field Properties pane to type or select other field properties, as appropriate New Perspectives on Microsoft Office Access 2007 48
  • 49. Defining a Field in Design View New Perspectives on Microsoft Office Access 2007 49
  • 50. Specifying the Primary Key in Design View In the Table window in Design view, click in the row for the field you’ve chosen to be the primary key. If the primary key will consist of two or more fields, click the row selector for the first field, press and hold down the Ctrl key, and then click the row selector for each additional primary key field In the Tools group on the Table Tools Design tab, click the Primary Key button New Perspectives on Microsoft Office Access 2007 50
  • 51. Specifying the Primary Key in Design View New Perspectives on Microsoft Office Access 2007 51
  • 52. Moving a Field To move a field, you use the mouse to drag it to a new location in the Table window in Design view New Perspectives on Microsoft Office Access 2007 52
  • 53. Adding a Field Between Two Existing Fields In the Table window in Design view, select the row for the field above which you want to add a new field In the Tools group on the Table Tools Design tab, click the Insert Rows button Define the new field by entering the field name, data type, optional description, and any property specifications New Perspectives on Microsoft Office Access 2007 53
  • 54. Adding a Field Between Two Existing Fields New Perspectives on Microsoft Office Access 2007 54
  • 55. Importing Data from an Excel Worksheet The import process allows you to copy the data from a source without having to open the source file Click External Data on the Ribbon Click the Excel button in the Import group to start the wizard New Perspectives on Microsoft Office Access 2007 55
  • 56. Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 56
  • 57. Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 57
  • 58. Importing Data from an Excel Worksheet New Perspectives on Microsoft Office Access 2007 58
  • 59. Creating a Table by Importingan Existing Table Structure Make sure the External Data tab is the active tab on the Ribbon In the Import group, click the Access button Click the Browse button Navigate to the file Make sure the Import tables, queries, forms, reports, macros, and modules into the current database option button is selected, and then click the OK button Click the Options button New Perspectives on Microsoft Office Access 2007 59
  • 60. Creating a Table by Importingan Existing Table Structure New Perspectives on Microsoft Office Access 2007 60
  • 61. Deleting a Field from a Table Structure In Datasheet view, select the column heading for the field you want to delete In the Fields & Columns group on the Datasheet tab, click the Delete button or In Design view, click in the Field Name box for the field you want to delete In the Tools group on the Table Tools Design tab, click the Delete Rows button New Perspectives on Microsoft Office Access 2007 61
  • 62. Deleting a Field from a Table Structure New Perspectives on Microsoft Office Access 2007 62
  • 63. Adding Data to a Table by Importing a Text File Click the External Data tab on the Ribbon In the Import group, click the Text File button Click the Browse button Navigate to the file Click the Append a copy of the records to the table option button Select the table Click the OK button New Perspectives on Microsoft Office Access 2007 63
  • 64. Adding Data to a Table by Importing a Text File New Perspectives on Microsoft Office Access 2007 64
  • 65. Defining Table Relationships One of the most powerful features of a relational database management system is its ability to define relationships between tables You use a common field to relate one table to another New Perspectives on Microsoft Office Access 2007 65
  • 66. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 66
  • 67. Defining Table Relationships A one-to-many relationship exists between two tables when one record in the first table matches zero, one, or many records in the second table, and when one record in the second table matches at most one record in the first table The Primary table is the “one” in a one-to-many relationship The Related table is the “many” table New Perspectives on Microsoft Office Access 2007 67
  • 68. Defining Table Relationships Referential integrity is a set of rules that Access enforces to maintain consistency between related tables when you update data in a database The Relationships window illustrates the relationships among a database’s tables Click the Database Tools tab on the Ribbon In the Show/Hide group on the Database Tools tab, click the Relationships button New Perspectives on Microsoft Office Access 2007 68
  • 69. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 69
  • 70. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 70
  • 71. Defining Table Relationships New Perspectives on Microsoft Office Access 2007 71

Notas del editor

  1. http://www.google.ca/imgres?imgurl=http://tctechcrunch.files.wordpress.com/2010/03/binary_data.jpg&imgrefurl=http://techcrunch.com/2010/03/16/big-data-freedom/&usg=__Sh_4EN0mwwOH35FqrsJRtvJEZuA=&h=600&w=800&sz=187&hl=en&start=30&zoom=1&tbnid=7t1PdGOKt490rM:&tbnh=127&tbnw=169&ei=ONmUTf_3KYf6swPKweDVBQ&prev=/images%3Fq%3Ddata%26um%3D1%26hl%3Den%26sa%3DN%26biw%3D1024%26bih%3D574%26tbs%3Disch:10%2C976&um=1&itbs=1&iact=rc&dur=284&oei=LtmUTY7OAs_OiAKz0cX_CA&page=3&ndsp=15&ved=1t:429,r:7,s:30&tx=105&ty=34&biw=1024&bih=574
  2. http://www.flickr.com/photos/alismith44/269843032/