DAY 9: DATABASES Rohit September 21, 2015 1.

Slides:



Advertisements
Similar presentations
Intro to Access 2007 Lindsey Brewer CSSCR September 18, 2009.
Advertisements

Database Design Week 10.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Access Lesson 2 Creating a Database
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
1004INT Information Systems Week 10 Databases as Business Tools.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Databases and Database Management Systems
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Software Application
MS Access 2007 IT User Services - University of Delaware.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
Database Lecture # 1 By Ubaid Ullah.
Unit 18: Database Modelling
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 /
ASP.NET Programming with C# and SQL Server First Edition
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Microsoft Access Lecture -13- By lec. (Eng.) Hind Basil University of Technology Department of Materials Engineering 1.
2440: 141 Web Site Administration Database Management Using SQL Professor: Enoch E. Damson.
Chapter 15: Using LINQ to Access Data in C# Programs.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Relational Databases (MS Access)
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
M1G Introduction to Database Development 5. Doing more with queries.
® Microsoft Office 2013 Access Creating a Database.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
ITGS Databases.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
Database revision.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Unit 5 Advanced Databases The Purpose and features of a relational database.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Lesson 2: Designing a Database and Creating Tables.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Access Chapter 1: Intro to Access Objectives Navigate among objects in Access database Difference between working in storage and memory Good database file.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Instructor: Pavlos Pavlikas1 How Data is Stored Chapter 8.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
DAY 11: EXCEL CHAPTER 8-10 Rahul Kavi September 24,
DAY 9: DATABASES Rohit February 17,
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
SQL Basics Review Reviewing what we’ve learned so far…….
DAY 14: DATABASES RAHUL KAVI February 25,
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Access Creating a Database
Chapter 4 Relational Databases
Access Creating a Database
Microsoft Access 2003 Illustrated Complete
Lecturer: Mukhtar Mohamed Ali “Hakaale”
PHP and MySQL.
The ultimate in data organization
Lesson 23 Getting Started with Access Essentials
Understanding Core Database Concepts
Presentation transcript:

DAY 9: DATABASES Rohit September 21,

SCENARIO MANAGER Scenario Manager is a what-if analysis tool that allows you to define up to 32 scenarios to compare their effects on calculated results Data->Data Tools->What-If Analysis- >Scenario Manager Example: Profit calculations for a business based on units sold, production cost per unit, shipping cost per unit 2

ADDING SCENARIOS Data->Data Tools->What-If Analysis- >Scenario Manager Add… –Scenario name –Changing cells –Set values for each cell Example: –Best Case: 75,000 units, $38/unit production cost, $0.30/unit shipping cost –Likely Case: 50,000, $42.95, $0.5 –Worst Case: 25,000, $48, $0.75 3

WORKING WITH SCENARIOS Delete Edit Show Summary –Regular summary –PivotTable summary 4

SOLVER Solver is similar to goal seek, but it allows multiple input values to change Solver is an Add-In, so it must be loaded before you can use it –File->Options->Add-Ins->Manage: Excel Add- Ins-> Go… –Check “Solver Add-in”-> OK 5

DATABASES A database is an organized collection of data There are many types of databases –Flat File –XML –Workbooks –Relational –Key-Value Store 6

POPULAR DROP-OUT BILLIONAIRES (IMPORTANCE OF COMPUTER SKILLS) 7

WHY LEARN THESE SKILLS? Database skills are an essential part of basic computer skills like Programming.Programming Limitless possibilities with a 800$ computer from the comfort of home (consume or produce). Create own website/blog (commercial, personal). Computer skills like Programming, Database Management, Blogging are like culinary skills. Business Plan competition. 8

WHERE ARE DATABASES USED? Storing bank records, corporate data, etc. Storing login credentials for websites/blogs. Store content of popular websites like Flickr.com, YouTube.com, etc. Store content of popular services like Netflix, Instagram,Pandora, iTunes, Spotify, Game Center (iOS), App Store, Play Store (Android App Store). 9

WHERE ARE DATABASES USED? 10 Source: oracle.com

RELATIONAL DATABASES Access is a relational database –A relational database is a collection of data items organized as a set of formally described tables from which data can be accessed easily –In addition to table definitions, there are also relationships between tables 11

RECORDS AND FIELDS REVIEW A single entry in a table is called a “record” –A record (row) is one or more pieces of data about a single entity Each piece of data in a record is a “field” (column). A table definition lists all the fields the records in that table have –The definition can define default values for fields –Some fields are required for each record, others are optional 12

KEYS Each table has to have a “primary key”. This is a field, or a combination of fields that will be unique to each record Keys allow you to identify a particular record You can use the key in other tables to reference the record 13

INDEXES Indexes are an ordering of a key or other field that is computed on creation and kept up to date as the database is updated By using the index, the database software is able to quickly retrieve the record given the field value 14

RELATIONSHIPS By including a the key from one table as a field in a different table, we create a relationship between the two tables This allows us to link the data between two tables In the second table, the field is known as a “foreign key” 15

EXAMPLE Two tables: People, PhoneNumbers –People: id, first_name, last_name, birthdate –PhoneNumbers: id, country_code, area_code, number, person_id PhoneNumbers.person_id would hold the same value as People.id for phone numbers that belong to the given person 16

CASCADING If the records with the foreign key are only used as an extension of the original table, you may want to cascade updates and/or deletes –Deletes: If the original record is deleted, the foreign key record is deleted –Updates: If the key of the original record is changed, the foreign key is updated to match 17

PLANNING DATABASES Define what tables you need Define what fields belong in each table Define what data types each field should be Define default values for each field Choose between required and optional 18

NORMALIZATION Normalization is a process of organizing fields and tables to minimize redundancy of data –DRY (don’t repeat yourself) –If you repeat yourself, when you need to make a change you have to change it everywhere or you will have problems 19

SQL SQL is structured query language SQL is how Access interacts with data under the hood INSERT INTO ‘table’ (‘field1’, ‘field2’) VALUES (‘value1’, ‘value2’) UPDATE ‘table’ SET ‘field1’ = ‘value1’ WHERE ‘field2’ = ‘value2’ DELETE FROM ‘table’ WHERE ‘field’ = ‘value’ SELECT ‘field1’ FROM ‘table’ WHERE ‘field2’ = ‘value’ 20

COMMON EXCEL ISSUES Switch Row/Column Merge (but not center) Relative/Absolute/Mixed References 21