Download presentation
Presentation is loading. Please wait.
Published byHugh Carroll Modified over 7 years ago
1
CSIS 115 Database Design and Applications for Business
Dr. Meg Fryling “Dr. Meg” Fall 2012 @SienaDrMeg #csis115
2
Agenda Course Resources The Future of Work
Welcome Syllabus & Course Schedule Clickers The Future of Work Why not just use a spreadsheet? CSIS114 Lab Revisited Homework
3
Course Resources http://blackboard.siena.edu
Z:\\afs\sosad.sos.siena.edu\users\... Office Hours Links to Course Resources
4
The Future of Work Rand Corp reports that most secure jobs in the US involve the adaption of new technology to solve business problems in innovative ways* Databases have changed the world!!!! Diskman to iPod Google “top skills employers look for” Google “top skills needed in business” *Karoly, Lynn A., and Constantijn W. A. Panis. The 21st Century at Work. (Santa Monica: CA: The Rand Corporation, 2004).
5
The Characteristics of Databases
The purpose of a database is to help people track things of interest to them. Data is stored in tables (relations), which have rows (records or tuples) and columns (fields or attributes) like a spreadsheet. A database may have multiple tables, where each table stores data about a different thing. Each row in a table stores data about an occurrence or instance of the thing of interest. A database stores data and relationships. Can keep track of things on paper; in a filing cabinet. What are the limitations? Can keep track of things electronically in files or a spreadsheet. What are the limitations? What if I kept information about all my music in one of these formats? KROENKE AND AUER - DATABASE PROCESSING, 11th Edition © 2010 Pearson Prentice Hall
6
Why not just use a spreadsheet?
CSIS114 Lab Revisited Assignments > In-Class Activities > DB vs SS > Vet Clinic SS
7
Vet Clinic Spreadsheet
Add a record for Sara Craver’s (client #17) new dog named Peaches who had an appointment on 9/16/05 at a charge of $50. Note: do it the best way you see fit!
8
Adding a record for Sara Carver's new dog – which is the best (least limiting) strategy?
Replace the name of the dog, visit, and amount values in record 17 with the new values. Add a blank record right under record 17, and put in just the new dog, date and charge values. Add a blank record right under record 17, put in the new dog name, date, and change values, then copy all other fields of record 17 data into the new record. Start another sheet in the workbook and put the new record there.
9
SS - Data Validation In cell G14, type in the zip code 01237
In cell H13, type in the following for phone number: In cell K13, type in the following date 12/35/2004 In cell L12, type in for the amount (this is a typo, the value should be 30.50)
10
Database Benefits Databases allow us to organize data in a structured way Eliminate (or at least significantly reduce) data duplication Database user interfaces help Prevent Data Errors
11
Account Balances Becker's keeps client accounts on a second sheet named accounts. Notice that the Client Id Field is used to link the records on the two sheets. But is there really a “link”? How would you accomplish the tasks described in the next questions?
12
What is the best procedure to determine the current balance for all the clients?
For each client use calculator to subtract the payment amounts from the visit amount Sort accounts by client number, subtotal with sum on the Credit/Debit field. Filter for all the Payments and form their sum, then filter for all the visits, form their sum, subtract the sum of payments from the sum of visits. Compute the sum of the Credit/Debit field. This task could be accomplished more efficiently in a database.
13
Vet Clinic Spreadsheet
Why is this not a good solution?
14
Database Benefits Databases allow us to organize data in a structured way Eliminate (or at least significantly reduce) data duplication Database user interfaces help Prevent Data Errors
15
Components of a Database System with SQL
Homework 1 KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall
16
Applications, the DBMS, and SQL
Applications are the computer programs that users work with. The Database Management System (DBMS) creates, processes, and administers databases. Structured Query Language (SQL) is an internationally recognized standard database language that is used by all commercial DBMSs. KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall
17
Homework Review Syllabus Carefully
Let me know if you have any questions Sign-in to Piazza and complete Homework P1 Due Monday (9/10) by start of class Start Homework 1 Due Wednesday (9/12) by start of class Start Reading Chapter 1, 2 (Skip and 63-82), & Appendix A (Online)
18
Homework P1 Post a new Piazza note with:
An introduction of yourself including your name, major(s), minor(s), and class year. A picture of yourself (please keep it clean!) Two Lies and A Truth. List three interesting things about yourself. (I own two iguanas; I once shook hands with Tom Cruise; and I love to waterski.) Two must be lies and one must be true (again, please keep it clean). Make it good because we will vote later and the student with the most incorrect votes wins! Tag the note with #HomeworkP1 Add info to spreadsheet Duplicate names are possible Volatile data (fr, so, jr, sr) Repeated data (course) Multiple data in same field (major, minor)
19
Homework 1 Now available on Blackboard
Due Weds 9/12 by start of class Continuation of our lecture from last week DB vs. SS Develop main menu (user interface) for Becker’s Vet Clinic Database Should be a breeze with skills learned in MIS114!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.