Presentation is loading. Please wait.

Presentation is loading. Please wait.

© Stefano Grazioli - Ask for permission for using/quoting:

Similar presentations


Presentation on theme: "© Stefano Grazioli - Ask for permission for using/quoting:"— Presentation transcript:

1 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

2  Lab on Thu at 9am  Easy meter

3 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

4  Indispensable in commerce  Program (e.g., VBA) data is volatile

5  A database (DB) is an organized collection of data  A database Management System (DBMS) is a software that provides data-related functionality User or program Access, Oracle, IBM DB2, SQL Server, MySQL... Is Excel a DB or a DBMS?

6 DBMS is software that includes Data Definition Language Data Manipulation Language Data Dictionary AccountingAccountingProductionProductionMarketingMarketing InventoryInventory CustomersCustomersInvoicesInvoicesOrdersOrdersPurchasingSchedulingBillingPricingPurchasesPurchasesDBMSDBMS

7 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

8 CREATE TABLE Loan ( l_id integer primary key, principal money, rate decimal(8,5) DEFAULT 1.50000, date_due datetime, lo_id integer); LOAN

9  Record visualization (selection)  Record insertion INSERT INTO LOAN (l_id, principal, rate, date_due) values (7233, 250000, 2/2/2020);  Record update  Record deletion LOAN

10 Name: Principal Web Name: LoanAmount PC name: PrincipalDue Description: Loan amount granted to a customer Size: 20 bytes Type: numeric Date changed: 01/02/10 Ownership:LENDING Access security: MANAGER, LENDING; MANAGER, RISK MANAGER, SALES…. Used by: LENDING, RISK, MARKETING… Program using: P00023, P00034, P00121, … Reports using: R124 (daily report); R323 (lending summaries);... Metadata

11 When a DBMS organizes your data so that they appear to the user as TABLES, that DBMS is a Relational DBMS, or RDBMS.

12 TRADE_NOSEC_IDTICKERUNIT_PRICEQUANTITYFEE_% 11123312ACME90.2310010 123242344MSFT45.553010 231123312ACME91.115510 349992933ORCL73.5620015 373242344MSFT45.935010 477798797GE95.2610010 483242344MSFT43.24555 493242344MSFT42.633510 567798797GE94.92905

13 TRADE_NOSEC_IDTICKERUNIT_PRICEQUANTITYFEE_% 11123312ACME90.2310010 123242344MSFT45.553010 231123312ACME91.115510 349992933ORCL73.5620015 373242344MSFT45.935010 477798797GE95.2610010 483242344MSFT43.24555 493242344MSFT42.633510 567798797GE94.92905 Table (or relation) Table (or relation) Row (or Record) Row (or Record) Column (or Field) Column (or Field)

14 TRADE_NOSEC_IDTICKERUNIT_PRICEQUANTITYFEE_% 11123312ACME90.2310010 123242344MSFT45.553010 231123312ACME91.115510 349992933ORCL73.5620015 373242344MSFT45.935010 477798797GE95.2610010 483242344MSFT43.24555 493242344MSFT42.633510 567798797GE94.92905 Primary key is a field that contains unique (non duplicated) information & is used to identify a record

15 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

16

17 ResearchResearch AccountingAccountingFinanceFinanceProductionProductionMarketingMarketingSalesSalesCostsCostsForecastsForecastsCostsCostsInventoryInventory Application #1 Application #3 Application #2 Application #4 Application #5 DBMSDBMSDBMSDBMSDBMSDBMSDBMSDBMS

18 AccountingAccountingProduction Unit #01 Production Production Plant #02 MarketingMarketing App. #1 App. #3 App. #2 App. #4 Integrated Enterprise Data Portal / Dashboard Centralized DBMS SAP, Oracle, Microsoft….

19 Integrated Enterprise Data This is hard to do! (ETL engines) CustomersCustomersCostsCostsSalesSales AccountingAccounting Production Plant #01 Production Plant #02 App #1 App #3 App #2 App #4 DBMSDBMSMarketingMarketing App #5 App #6 DBMSDBMSDBMSDBMSDBMSDBMSCustomersCustomersCostsCostsSalesSalesCostsCostsSalesSales Sales & Research DBMS Data Warehouse DBMS Portal / Dashboard DSS (BI)

20 Source: B. Wixom

21  Name, major  Learning objectives  Things you like about the class  Things that can be improved  Strengths / Attitude towards the Tournament

22 © Stefano Grazioli - Ask for permission for using/quoting: grazioli@virginia.edu

23 The user press the Compute Cagr button UML Activity Diagram - Daily Compound Average Growth of a Security (part II) Compute the Cagr for the next customer Print the result for that customer [No More Customers] Print the Average of all Cagrs at the bottom of the Cagr column, with a descriptive label.


Download ppt "© Stefano Grazioli - Ask for permission for using/quoting:"

Similar presentations


Ads by Google