GloSolar CompanySchema/ EERDatabaseQueriesNormalization.

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Operating Processes: Planning and Control.
Advertisements

Database Lecture Notes Mapping ER Diagrams to Tables 2 Dr. Meg Murray
Phone List Estimates Quotes Jobs Time Sheets Sales Calls Administration Reports Purchase Orders M.E.E.M. Mgnt. Inc. 2006©
MICROSOFT OFFICE ACCESS 2007.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 2 Business Fundamentals.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Chapter 8 Integrated Project
Utility Service Database Design a database to keep track of service calls for a utility company: Customers call to report problems Call center manages.
Data Warehousing ISYS 650. What is a data warehouse? A data warehouse is a subject-oriented, integrated, nonvolatile, time-variant collection of data.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
The Computer Super Store A Sample Presentation Depicting the Requirements of Your Group Project.
Database I. Practice SQL.
Data Modeling and Entity- Relationship Model I IST2101.
Relational Database Need to Knows. What is a database? Data - is just a pile of numbers or stats. A business "organises" the data to be meaningful and.
Team #6 Bill Cheng Sabina Del RossoStephen Hom Omede Firouz Stacy Hsueh Wei Jiang Thoranis Karnasuta Social Networking Analytics for Calbee (SNAC) CLIENTEER/SCHEMANORMALIZATIONQUERIES.
Conceptual Modeling with ER Diagrams Peter Chen introduced ER Diagrams.
Example 5 Advertising and Sales Chapter 6.5 Monthly sales y (in thousands of dollars) for Yang products are related to monthly advertising expenses x (in.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
No, Thanks, I’ll Use a Spreadsheet
Marni McSween-Farmer Marco LuzuriagaRoss RyanAnnmarie Yoos Collaboration Exercises #2, pg. 366.
Introduction to the Orion Star Data
Bob Travica MIS 2000 Bob Travica Class 5 More on Data Analysis Updated May 2015.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Section 28.1 Marketing Information Systems
Module 1: Introduction to Data Warehousing and OLAP
Forms and Subforms 5.02 Understand database queries, forms, and reports used in business.
System and data modeling tools Revision. Schemas A schema shows the organisational structure of a database. It should show the entities (the tables in.
Burapha University, 2003 Object-Oriented Analysis Basic of Object Mapping to Relational Database.
Elk’s Lube Express Elk’s Lube Express Jeremy Miller Brandon Rich Roxana Berrondo.
Repp Construction Database Design Group #1 David Adler Jiawei Chen Brittany Popovski Savannah Smith Jie Xuan Zhao.
Spreadsheets PowerPoint By Adam, Ria, Seb & Cherie.
Texas Bicycle Sports Presented by : Muhammad Rizvi Terry Lee Madhuri Yelamanchili.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Operating Processes: Planning and Control.
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.
Introduction to the Microsoft Access Database Why use Microsoft Access.
R OSE P ETAL FLORIST.  Presented by: Melanie Patino Rene Benjamin Michael Ramos Natalia BetancurSerna.
ISAM 5931: Data Warehousing & Data Mining Group Project submitted by : Mudassar Hakim & Gaurav Wadhwani.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 2 Business Fundamentals.
Why should I as a small business owner have a web site?
Houston E-Retailers Presented BY: Bala AnuDeep Guduri (LEAD)
BCS Software Developed by M.E.E.M. Mgnt. Inc. BCS: The User Friendly Management Tool Overview Review M.E.E.M. Mgnt. Inc. 2013
1 Research Papers Database. 2 Form – Add – Delete – Change … information in the database.
HOUSTON E-RETAILERS PRESENTED BY: BALA ANUDEEP GUDURI (LEAD) KAVYA HEGDE DIVYA GANGWANI SUHAS MALAVALLI.
Relational Database Systems Bartosz Zagorowicz. Flat Databases  Originally databases were flat.  All information was stored in a long text file, called.
4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Using Data Model Editor to Create Data Models Based on a SQL Query Data Set.
HOUSTON E-RETAILERS PRESENTED BY: BALA ANUDEEP GUDURI (LEAD) KAVYA HEGDE DIVYA GANGWANI SUHAS MALAVALLI.
Data Resource Management Application Layer TPS A RCHITECTURE Data Layer Sales/MarketingHR Finance/Accounting Operations Spreadsheet Data MS Access Accounts.
Prepared By: Brevity Software Solutions Pvt Ltd. EVENT MANAGEMENT SYSTEM Prepared By: Brevity Software Solutions Pvt Ltd The Event Management Platform.
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Defining Data Warehouse Structures Data Warehouse Data Access End User Data Access Data Sources Staging Area Data Marts Data Extract, Transform, and Load.
Phase Three: Data Modeling and Program Design
Order Database – ER Diagram
Order Database – ER Diagram
MIS2502: Data Analytics Relational Data Modeling
ISQS 6339, Business Intelligence Database vs. Data Warehouse
Order Database – ER Diagram
Order Database – ER Diagram
Handling Data Using Databases
MIS2502: Data Analytics Relational Data Modeling
نظام الفارابي لإدارة جودة التعليم والتعلم
Changing Approach to Marketing
Schema Template Employee Office EmployeeOffice EmployeeID OfficeID
Order Database – ER Diagram
Order Database – ER Diagram
SQL Views Appendix C DATABASE CONCEPTS, 3rd Edition
Orion Star Sports & Outdoors
ER Diagram Master How to use this template
Valuing Organizational Information
MIS2502: Data Analytics Relational Data Modeling 3
Presentation transcript:

GloSolar CompanySchema/ EERDatabaseQueriesNormalization

GloSolar is a small Startup Solar Installer Headquarters: Downtown Berkeley Market: Business done primarily in Bay Area/Sonoma County Company Size: Eight employees total; three work in the Berkeley Office. Company Overview Schema/ EERDatabaseQueriesNormalization

Existing Database Structure First 3 Months: Began with customer tracking by storing its customer data on a single sheet of a large Google Spreadsheet. Current customer resource management database: Google Apps & Relational Database based on Excel for orders Need for Project Management as well as data tracking No existing relational database structure to track the physical Solar Systems and the different customers from start to finish state, as well as each and every single order. Company Difficulties: Operations are spread out throughout California Database must be able to both track projects as well as entire company operations including payroll and purchases Schema/ EERDatabaseQueriesNormalization

CompanySchema/ EERDatabaseQueriesNormalization

Final Relational Schema CompanySchema/ EERDatabaseQueriesNormalization

Final Relational Schema CompanySchema/ EERDatabaseQueriesNormalization

Final Relational Schema CompanySchema/ EERDatabaseQueriesNormalization

Table Relationships

Switchboard CompanySchema/ EERDatabaseQueriesNormalization

Forms CompanySchema/ EERDatabaseQueriesNormalization

Query 1 Give a list of sales representatives and their number of paying customers, from highest to lowest. CompanySchema/ EERDatabaseQueriesNormalization

Query 2 Which advertisement generates the most revenue per dollar spent on that advertisement? CompanySchema/ EERDatabaseQueriesNormalization

Query 3 In what months are the most projects started? Order months from those with the most projects to those with the fewest? CompanySchema/ EERDatabaseQueriesNormalization

Query 4 Which customers have given the most referrals? CompanySchema/ EERDatabaseQueriesNormalization

Query 4 Provides a clean report for list of referrals CompanySchema/ EERDatabaseQueriesNormalization

Query 5 Which projects that have not yet been completed have been in progress the longest? CompanySchema/ EERDatabaseQueriesNormalization

Normalization Analysis Person BCNF Person BCNF Person(Person_id, Last_Name, First_Name, MI, Address, Phone_Number, _Address) Functional Dependencies: Person_id  First_Name, Last_Name, MI, Address, Phone_Number, _Address CompanySchema/ EERDatabaseQueriesNormalization

Normalization Analysis CreditCard 2NF CreditCard 2NF CreditCard(Payment_id, CreditCardNumber, CreditcardCompany, CCV) Functional Dependencies: Payment_id  CreditCardNumber, CreditCardCompany, CCV CreditCardNumber  CreditCardCompany, CCV Normalized into BCNF: Normalized into BCNF: CreditCard(Payment_id, CreditCardNumber) CreditCard(CreditCardNumber, CreditCardCompany, CCV) CompanySchema/ EERDatabaseQueriesNormalization

Normalization Analysis Project BCNF Project BCNF Project(Project_id, Cutsomter_id 1b, Completion_Date, Start_Date, Total_Price) Functional Dependencies: Project_id  Customer_id, Total_Price, Start_Date, Completion_Date CompanySchema/ EERDatabaseQueriesNormalization

Normalization Analysis Order BCNF Order BCNF Order(Order_id, Employee_id 1a, Project_id 4, Order_time, Payment_id 22, Shipper_id 18,Product_id 19 ) Functional Dependencies: Order_id  Employee_id, Project_id, Order_time, Amount, Payment_Method_id, Shipper_id. Product_id CompanySchema/ EERDatabaseQueriesNormalization

Normalization Analysis Supplier 3NF Supplier 3NF Supplier(Supplier_id, Name, Address, _Address, Phone) Functional Dependencies: Supplier_id  Name, Address, _Address, Phone Phone  Supplier_id Can be normalized into BCNF: Can be normalized into BCNF: Supplier(Supllier_id, Name, Address, _Address) Supplier_Phone(Supplier_id, Phone) CompanySchema/ EERDatabaseQueriesNormalization

Questions? Thank you! CompanySchema/ EERDatabaseQueriesNormalization