School of Business Administration

Slides:



Advertisements
Similar presentations
SQL Database for a Book Store Clinton McKay. Explanation The database contains information about the books held in stock, their authors, publishers, customers,
Advertisements

Entity-Relationship Modeling (ER-M)
Inventory Management & Administration System Tourism suite A powerful computer software application handling carefully your inventory department activity.
The Sales Journal and the Purchases Journal
Dr. Chen, Oracle Database System (Oracle) 1 Chapter 12 Subqueries and Merge Statements (up to p.451) Jason C. H. Chen, Ph.D. Professor of MIS School of.
Chapter 11 Group Functions (up to p.402)
Financial Accounting, 3e Weygandt, Kieso, & Kimmel
P449. p450 Figure 15-1 p451 Figure 15-2 p453 Figure 15-2a p453.
Chapter 1 The Database Environment
E- COMMERCE CHAPTER 2. Business-to-Consumer (B2C) a manufacturer can sell to the general public retail stores have another avenue to reach customers.
1 LBSC 690: Week 9 SQL, Web Forms. 2 Discussion Points Websites that are really databases Deep vs. Surface Web.
Part 4 PRODUCT AND PRICE DECISIONS
Jason Chou-Hong Chen, Ph.D. Professor of MIS
TM -1 Technology Management & Competitive Advantage Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga University Spokane,
Chapter 1 Overview of Database Concepts
Chapter 15, Section 1 Purchasing Items Needed by a Business
DESIGNED BY AMIT KUMAR DUTTA( ) FAHIAN AHMED( )
Dr. Chen, Oracle Database System (Oracle) 1 Database Development DDL DML DCL JL_D.B. ORACLE (SQL Components) (Retrieve Data and Produce Information from.
Dr. Chen, Oracle Database System (Oracle) 1 Chapter 4 Constraints Jason C. H. Chen, Ph.D. Professor of MIS School of Business Gonzaga University Spokane,
E-Commerce and Supply Chain Management (SCM) Chapter 4.
Chapter 5 Merchandising Operations
Lecture 30 Chapter 07 Cash Task Force Image Gallery clip art included in this electronic presentation is used with the permission of NVTech Inc.
Project 6 Using The Analysis ToolPak To Analyze Sales Transactions Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business.
Dr. Chen, Oracle Database System (Oracle) 1 HW Discussion Chapter 5 (#9) –Why need two “deletes”? SQL> --9. SQL> SQL> DELETE FROM orderitems 2 WHERE order#
Dr. Chen, Business Database Systems (Oracle) Instruction on Creating sql files and SPOOL Jason C.H. Chen, Ph.D. Professor of MIS School of Business, Gonzaga.
Dr. Chen, Business Database Systems JustLee DataBase Referential Integrity Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga.
Should you choose Excel or Access to manage your data?
Dr. Chen, Management Information Systems 1-1 MBUS626-AIE MIS Review Jason Chou-Hong Chen, Ph.D. Professor of MIS Graduate School of Business, Gonzaga University.
Reports. Report Summary Warehouse Reports Returned Material Serial Numbers Not Found This report list the serial numbers of material returned which were.
Tax, tip, and Markup Notes and examples.
Access Chapter 7- Access Custom Reports. PgP MIS 342 Access7-2 Custom Reports  Banded report writer Report, Page(s) and Group(s) sections can have both.
Copyright © Addison Wesley Longman, Inc. & Dr. Chen, Business Database Systems The Database Environment: Basic Concepts, Organizational Issues and Database.
Week 3.  Business document from which information for journal entry is obtained.  Transaction generates source document.  Each transaction must have.
Chapter 3 Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga University Spokane, WA 99223
Part 2 MARKET RESEARCH AND TARGET MARKETS
Cases in Management Education Jason Chen, Ph.D. Professor of MIS Gonzaga University Spokane, WA 99258
Project 2 Completing a Three Dimensional Workspace Using Logical and Lookup Functions Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Dr. Chen, Data Mining  A/W & Dr. Chen, Data Mining Chapter 6 The Data Warehouse Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration.
Bold Prediction for the Next 20 Years Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga University Spokane, WA
Project 4 Formatting, Displaying, Printing, and Publishing Workbooks Jason C. H. Chen, Ph.D. Professor of Management Information Systems School of Business.
Dr. Chen, Information Systems – Theory and Practices Occupational and Career Outlook for MIS Majors Jason C. H. Chen, Ph.D. Professor of MIS.
Accounting Information Systems: A Business Process Approach Chapter Three: Documenting Accounting Systems.
LINQ to DATABASE-2.  Creating the BooksDataContext  The code combines data from the three tables in the Books database and displays the relationships.
Reengineering Work: Don’t Automate, Obliterate Jason C.H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga University Spokane, WA.
Tomorrow we will do quiz on Chapter 6..  Businesses should send their HST amounts (that businesses collected) to Canada Revenue Agency.  Which businesses.
Dr. Chen, Oracle Database System (Oracle) 1 Chapter 7 User Creation and Management Jason C. H. Chen, Ph.D. Professor of MIS School of Business Gonzaga.
Dr. Chen, Data Mining  A/W & Dr. Chen, Data Mining Chapter 3 Basic Data Mining Techniques Jason C. H. Chen, Ph.D. Professor of MIS School of Business.
Chapter 12 – Posting Posting from the 5 Journals to the General Ledger and Subsidiary Ledgers.
Chapter 11 - Introduction n Objectives –Define accounting terms related to sales and cash receipts for a merchandising business. –Identify accounting concepts.
Dr. Chen, Information Systems – Theory and Practices  John Wiley & Sons, Inc. & Dr. Chen, Information Systems – Theory and Practices Cases in Management.
Problem solving Chapter 3
Dr. Chen, Oracle Database System (Oracle) 1 Basic Nested Queries and Views Jason C. H. Chen, Ph.D. Professor of MIS School of Business Gonzaga University.
Chapter 11: accounting for sales tax
LINQ to DATABASE-2.
Chapter 9 Sales and Cash Receipts
Chapter 5 STUDENT-COURSE
Basic Nested Queries and Views
Retail Sales is used to illustrate a first dimensional model
INFO/CSE 100, Spring 2005 Fluency in Information Technology
Chapter 6 The Journal and Source Documents
ACCOUNTING FOR MERCHANDISING OPERATIONS
Applications of the Derivative
Process Diagram for Sally’s Bookstore (as written)
Business Math.
Unit 3 – Chapter 6 The Journal and Source Documents
Journalizing Sales and Cash Receipts
PowerBI Desktop ETL with Oracle Database Connection
Accounting Information Systems: A Business Process Approach
Multiplying Up.
Presentation transcript:

School of Business Administration Chapter 1 SQL Jason C. H. Chen, Ph.D. Professor of MIS School of Business Administration Gonzaga University Spokane, WA 99258 chen@jepson.gonzaga.edu

Figure 1-5 JustLee Books’ table structures after normalization

order#, orderdate, customer#; ORDERITEMS: order#, ISBN; BOOKS: #1 Which tables and fields would you access to determine which books have been purchased by a customer over the last year? CUSTOMERS: customer#, ORDERS: order#, orderdate, customer#; ORDERITEMS: order#, ISBN; BOOKS: ISBN, title

ORDERS: ORDERITEMS: BOOKS: orderdate, order#; order#, ISBN, quantity; #3. If management needed to determine which book category generated the most sales for last month, which tables and fields would be consulted to derive this information? ORDERS: orderdate, order#; ORDERITEMS: order#, ISBN, quantity; BOOKS: ISBN, retail, category

AUTHOR: BOOKAUTHOR: BOOKS: Lname, AuthorID; AuthorID, ISBN; #5. If a customer inquired about a book written in 1999 by an author named Thompson, which access path (tables and fields) would you need to follow to find the list of books meeting the customer’s request? AUTHOR: Lname, AuthorID; BOOKAUTHOR: AuthorID, ISBN; BOOKS: ISBN, Pubdate.

Speakers Sessions Attendees 10. Data for an information technology conference needs to be collected. The conference has a variety of sessions scheduled over a two day period. Each attendee must register for the sessions he/she plans to attend. Some speakers are only presenting one session while others are handling multiple sessions. Each session has only one speaker. 10. Data for an information technology conference needs to be collected. The conference has a variety of sessions scheduled over a two day period. Each attendee must register for the sessions he/she plans to attend. Some speakers are only presenting one session while others are handling multiple sessions. Each session has only one speaker. Speakers Sessions Attendees Speakers Sessions Registration Attendees

Identify all orders that do not have an entry for the date shipped. #2. How would you determine which orders have not yet been shipped to the customer? Identify all orders that do not have an entry for the date shipped. #4. How would you determine how much profit was generated from orders placed this month? Determine the amount of profit generated by each book (Retail-Cost), multiply the profit for each book by the quantity sold last month, then total the amount of profit generated by each book.