Utility Service Database Design a database to keep track of service calls for a utility company: Customers call to report problems Call center manages.

Slides:



Advertisements
Similar presentations
Introduction to ReportSmith and Effective Dated Tables
Advertisements

Working with Tables 1 of 5. Working with Tables 2 of 5.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Microsoft Access 4 Database Creation and Management.
Concepts of Database Management, 4th Edition, Pratt & Adamski
1 LBSC 690: Week 9 SQL, Web Forms. 2 Discussion Points Websites that are really databases Deep vs. Surface Web.
Preforming Mail Merges Lesson 11 © 2014, John Wiley & Sons, Inc. Microsoft Official Academic Course, Microsoft Word Microsoft Word 2013.
Data Model Examples USER SPECIFICATIONS.
A Guide to SQL, Seventh Edition. Objectives Retrieve data from a database using SQL commands Use compound conditions Use computed columns Use the SQL.
Interpreting SQL Code. SQL (The language used to query a database) S is used to specify the you want to include. F is used to specify the the selected.
Seminar #1 – Refreshing databases concepts and SQL CM036: Advanced Databases1 Seminar 1: Revisiting Databases and SQL Purpose To refresh basic concepts.
Database Software Application
1 Working with MS SQL Server II. 2 The sqlcmd Utility Command line utility for MS SQL Server databases. Previous version called osql Available on classroom.
Mail Merge. One very useful feature of Microsoft Office is the Mail Merge feature. As an example of its use, suppose you want to send out application.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Lesson 1 -What is a Database? -Fields and Records
SQL Review Tonga Institute of Higher Education. SQL Introduction SQL (Structured Query Language) a language that allows a developer to work with data.
10/31/2012ISC239 Isabelle Bichindaritz1 SQL Graphical Queries Design Query By Example.
Nasca Access BasicsMore Access Access Again Access Continued Access Leftovers.
What is a Database? A Database is…  an organized set of stored information usually on one topic  a collection of records  a way to organize information.
Babysitter Example Dimensional Modeling. Babysitter Service The MISSA Service Club wants to run a babysitting service. Customers call to request a sitter.
Using Special Operators (LIKE and IN)
Querying a Database - A question or an inquiry (dictionary.com) - WHAT ARE WE ASKING QUESTIONS ABOUT? THE DATA - BY ASKING QUESTIONS OF THE DATA WE OBTAIN?
Chapter 9 Query-by-Example Pearson Education © 2009.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
SQL for Data Retrieval. Running Example IST2102 Data Preparation Login to SQL server using your account Select your database – Your database name is.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
1 Duplicate Analyzer Exercises. 2 Installation and Initial Configuration: Exercises Exercises 1.Install Duplicate Analyzer on your local PC. 2.Configure.
Senior Elective Tutorial MS Access Database: Student Records.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.
Data Structure Set Up. Table Setup Exercise A non-profit needs to set up a database to track members and their membership payment.
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,
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
SqlExam1Review.ppt EXAM - 1. SQL stands for -- Structured Query Language Putting a manual database on a computer ensures? Data is more current Data is.
Chapter 9 Vocabulary Databases. 1.Table – a collection of information, or data arranged in columns and rows. 2.Record – all of the information about one.
INTRODUCTION TO DATABASES USING MICROSOFT ACCESS Basic Database Terms Create A Database Creating Table Fields Populating a Table Modifying Data Create.
WEEK# 12 Haifa Abulaiha November 02,
QUERY CONSTRUCTION CS1100: Data, Databases, and Queries CS1100Microsoft Access1.
Lesson 4: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Set query.
1 Chapter 3 Single Table Queries. 2 Simple Queries Query - a question represented in a way that the DBMS can understand Basic format SELECT-FROM Optional.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
EXAM-2 OVERVIEW Aliya Farheen
When you open Access you can open or import an existing.csv file. Check that it recognises that the fields are separated by commas.
Notes: **A Row is considered one Record. **A Column is a Field. A Database is…  an organized set of stored information usually on one topic  a collection.
POS 410 ACADEMIC PROFESSOR/TUTORIALRANK For more course Tutorials
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
DAY 20: ACCESS CHAPTERS 5, 6, 7 Larry Reaves October 28,
Respiratory Therapists List
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
SQL Relational Database Project
Performing Mail Merges
Virgin America Airlines Reservations Number
Database Management  .
Data Tables Product Table Vendor Table Product ID# Vendor ID#
Announcements Project 2’s due date is moved to Tuesday 8/3/04
Querying Database ISYS 363.

Creating and Managing Database Tables
Query Functions.
Chapter 9 Query-by-Example Pearson Education © 2009.
Required queries FdSc inICT Module 107.
DELIVERY RECEIPT DELIVERY RECEIPT No : Date : Customer
Views for Excel and Reporting
Programming Techniques
Presentation transcript:

Utility Service Database Design a database to keep track of service calls for a utility company: Customers call to report problems Call center manages “tickets”, assigning workers to jobs Must match specialty and service location Must balance number of assignments Workers call in and ask where their next jobs are In SQL, you can perform the following operations: Count the number of rows in a result set Sort the result set according to a field Find the maximum and minimum value of a field

A Possible Answer: Tables Customer: cid, contact name, phone number, address, zip Worker: wid, name, phone number, location code, specialty Ticket: tid, problem, cid, wid, time assigned, status Area: zip, location code

One Possible Answer: Queries Customer calls: I have a problem! Join customer, area, and worker tables on zip and location code; restrict on cid and specialty → available workers For each worker, count outstanding tickets Insert a record in the ticket table, assigning job to worker to fewest assigned jobs Worker calls: Where’s my next job? And what’s the problem? Join ticket and customer tables on cid; restrict on status = “not yet completed”, sort rows by time assigned