Confirm teams. Review of diagrams. SELECT problems.

Slides:



Advertisements
Similar presentations
Chapter 7 Using Data Flow Diagrams
Advertisements

Chapter 9 Using Data Flow Diagrams
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Systems Analysis I Data Flow Diagrams
Lecture Note 8 Using Data Flow Diagrams
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Creating Databases SELECT. UPDATE. Demonstrate projects. Classwork / Homework: Prepare to choose teams & projects.
Creating databases for web applications
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Server-side Scripting Powering the webs favourite services.
Creating databases for web applications SQL. Systems design. ER diagrams. Data flow diagrams. Storyboards. Homework: Plan database and applications for.
Module 4: Systems Development Chapter 13: Investigation and Analysis.
Introduction to Sequence Diagrams
Creating Databases Uploading Files. Reading & writing files. Homework: Starting planning ‘original’ project.
Creating Databases for Web Applications Library diagrams Continue with diagrams for video clip archive and for (Flash) grid design. General and specific.
Creating Databases More SQL. Design. Original Project Assignment Homework: Post proposal. Continue with planning.
1. SQL Header of tables: –Head(Custoemrs) = (cid, cname, city, discnt) –Head(Orders) = (ordno, month, cid, pid, qty, dollars) –Head(Products) = (pid, pname,
OPAC Training aid (Library solutions & Library world)
Okalo Daniel Ikhena Dr. V. Z. Këpuska December 7, 2007.
Creating Databases Local storage. join & split Classwork: show 1 table application. Share designs for oscars application. Adaptive select. Homework: [Catch.
Creating Databases for web applications [Complete presentations] More SQL Class time: discuss final projects. Do posting if you have not done it.
Creating databases for web applications Library. New example: student database. Homework: Complete class example. Catch up on source postings. Do creation.
Creating Web Documents catch-up JavaScript slide show tools redirection.
Certificate in Digital Applications – Level 02 Multimedia Showcase – DA202.
Creating Databases for Web applications SQL. XML. Linked Lists. NoSQL. Homework: Keep working on projects. Post constructive feedback on other projects.
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
Accounting Information Systems: A Business Process Approach Chapter Three: Documenting Accounting Systems.
Creating Databases for Web Applications Catch-up presentations. New example. Review for final Homework: prepare for final.
Creating Databases for Web applications Making a table of table information. Reprise on database design. SQL. Classwork/Homework: Projects! Postings.
The Next Step Hudson Fare Files 102 – Import & upload Rev. 10/14.
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Orders – Create Responses Boeing Supply Chain Platform (BSCP) Detailed Training July 2016.
Advanced Higher Computing Science
Creating Databases for Web applications
Let try to identify the conectivity of these entity relationship
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA
Homework 1 Hints.
CSE 103 Day 20 Jo is out today; I’m Carl
Creating Databases Local storage. join & split
Standard Operating Procedure
Developer 2000 CSE 4504/6504 Lab.
Creating databases for web applications
New Feature Highlights
Creating Databases for Web Applications
Week 12 Option 3: Database Design
ERO Portal Overview & CFR Tool Training
Creating Databases More SQL. Design. Original Project Assignment
The Development of Information Systems Chapter 8 page 348+
Database Applications – Microsoft Access
MY AGED CARE - Changes to the PROVIDER PORTAL USER INTERFACE
MY AGED CARE - Changes to the PROVIDER PORTAL USER INTERFACE
New MyFD JV Feature Demo Webcast August 1, 2018
Creating Databases SELECT. UPDATE. Demonstrate projects. Do not track.
Citation Map Visualizing citation data in the Web of Science
Analysis models and design models
Lesson 1 The Web.
Using Use Case Diagrams
Unemployment Insurance Agency Michigan Web Account Manager
Chengyu Sun California State University, Los Angeles
Design Brief.
Product Training RMA Where “Lean” principles are considered common sense and are implemented with a passion! ©2008 TTW.
The ultimate in data organization
BCS Template Presentation February 22, 2018
Database Management system
Database Management system
Accounting Information Systems: A Business Process Approach
DIY GP Maintenance Paul Johnson.
CFR Enhancement Session
End of day Calculator and special order parts tracking
Presentation transcript:

Confirm teams. Review of diagrams. SELECT problems. Creating Databases Confirm teams. Review of diagrams. SELECT problems.

Schedule Next class: present idea for project, including ER diagram Data flow diagram Extra credit opportunity: bulk populate tables Use files? Access websites? Scheduled finals day: present final project

Final Presentations Prepare 1-pager: Show Demonstrate abstract screen shot(s) Show (possibly modified) data flow diagram (possibly modified) ER diagram storyboard Demonstrate Show at least 1 interesting part of the code May indicate steps to enhance project Task for the audience

Data flow diagram Who are the (distinct) agents, aka users For example: customers, administrators What are the processes, aka tasks For example: authorize users, remove records…, view some selection, add information.. What is the data store Could simply list the tables Note: may be data that isn’t in a table, File localStorage

Storyboard Make a block for each script (aka file, aka program) Can label your connect script as being included in every php script Put in arrows from script to script Invokes through a form or Invokes with a hyperlink

Documentation Each type of diagram focuses on specific issues. Data Flow Diagram does not feature sequence of operations. Entity Relationship features what is in each table and any relations (fields in one table pointing / representing another). Storyboards feature implementation. Organizations generally have standards for documentation!

SQL UNION Assume a database with table for full-time faculty and another table for part-time faculty. Reasons not to do this: some overlap of fields. Reasons to do this: most processing involves just one or the other. Why have optional fields? Why waste space? SQL UNION can be used when application calls for information from both tables.

SELECT UNION SELECT column_name(s) FROM table_name1 UNION SELECT column_name(s) FROM table_name2 SELECT fname, start_date FROM faculty WHERE start_date < 2005 UNION adjname, start_date FROM adjuncts WHERE start_date < 2005 NOTE: the start_date expression may be wrong…

SELECT …. BETWEEN Can combine two tests using the BETWEEN operator SELECT department, COUNT(*) as c FROM students GROUP BY department HAVING c BETWEEN 5 AND 10 SELECT department, COUNT(*) as c FROM students GROUP BY department HAVING c >= 5 AND c<=10.

SELECT … BETWEEN Assume table with fields that hold dates. SELECT * FROM orders WHERE orderdate BETWEEN '7/20/08' AND '8/05/08'; Will this work for late July, early August? Need to research date and date/time 'arithmetic’.

Exercise/Classwork Consider customers (cid, cname, zipcode), products (pid, pname, price), orders (oid,cid,date), orderedproducts (opid, oid, pid, quantity) example. Generate list of zipcodes with total number of orders. Generate list of product names, with total ordered for each zipcode Generate list of customers who had orders made in the summer of 2013. ? Can work in pairs. Turn in work.

Hints Decide on tables needed Some fields in some tables, maybe even all the fields in some tables, may not be part of the result. They are needed to make up the JOINed table to obtain the results. Generally, how tables are JOINed, the ON conditions is fixed Decide on WHERE conditions . These are conditions on individual records. Decide if any GROUP operations: any aggregations NOTE: DISTINCT also does an aggregation Decide if any HAVING conditions: conditions on aggregated results Decide on any functions, e.g., COUNT(*) SELECT zipcode, count(*) FROM customers as c JOIN orders as o ON c.cid = o.cid GROUP BY zipcode ORDER BY zipcode   SELECT p.pid, pname, zipcode, count(*)FROM customers as c JOIN orders as o ON c.cid = o.cid JOIN orderedproducts as x ON o.oid = x.oid JOIN products as p ON p.pid = x.pid GROUP BY p.pid, zipcode SELECT DISTINCT cname FROM customers as c JOIN orders as o ON c.cid = o.cid WHERE o.date BETWEEN ‘2013-06-01’ AND ‘2013-08-31’

An example: citations The citations system provides visualizations of how articles reference other articles. The “archivists” input journals, articles and links from original article to referenced article. The “viewers” request a visualization. Note: this can be a base project for enhancement.

ER Articles id title symbol journal Links id Original article Referenced article Jo Journals id name …

Data flow diagram in words Who are the agents? Archivists (my term): those who put in the information (and potentially edit it, though I haven’t done that yet) Viewers (my term): people looking at the links What are the processes (aka task)? Enter journals. Enter articles. Enter links. View links What are the data stores? Journal table. Article table. Links table.

DFD Enter journals archivist Journal table Enter articles Article table Enter links Links table View links viewer

Decisions Visualization consists of nodes (rounded corners of different colors) and arrows. Ask archivists to make up short (3 character) symbols for each article. Have program assign colors to journals. The node color is the journal color. Viewer can click on node for more information Article title and journal name.

Programs Go to Database projects and click on Journals, articles,… links http://faculty.purchase.edu/jeanine.meyer/db/examples.html

Reflection Very preliminary Such systems (probably) already exist Want to add Edit feature Adjusting visualization by moving nodes Data report: for example, number of in-links and out-links Some action done client side, some server side I had an arrow program from origami examples Time to talk to my client (that is, my son)

Classwork / Homework Form teams and decide on general idea and post proposal. Prepare planning presentations for next class.