4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Using Data Model Editor to Create Data Models Based on a SQL Query Data Set.

Slides:



Advertisements
Similar presentations
7 Copyright © Oracle Corporation, All rights reserved. Producing Readable Output with i SQL*Plus.
Advertisements

Writing Basic SQL SELECT Statements. Capabilities of SQL SELECT Statements A SELECT statement retrieves information from the database. Using a SELECT.
Data Warehousing - 2 ISYS 650. Data Warehouse Design - Star Schema - Dimension tables – contain descriptions about the subjects of the business such as.
10 Copyright © Oracle Corporation, All rights reserved. Including Constraints.
8 Copyright © Oracle Corporation, All rights reserved. Manipulating Data.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Managing Schema Objects
2 Copyright © 2004, Oracle. All rights reserved. Restricting and Sorting Data.
9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Using the Set Operators Assist. Prof. Pongpisit Wuttidittachotti, Ph.D. Faculty.
Database I. Practice SQL.
2 Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Navigating in R12.x Oracle Applications.
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
Ceng 356-Lab1. Objectives After completing this lesson, you should be able to do the following: Get Familiar with the development environment List the.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
1 Copyright © 2006, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
2 Copyright © 2004, Oracle. All rights reserved. Restricting and Sorting Data.
10 Copyright © 2009, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables.
1 Copyright © 2006, Oracle. All rights reserved. Using DDL Statements to Create and Manage Tables.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
10 Copyright © Oracle Corporation, All rights reserved. Including Constraints.
Objectives After completing this lesson, you should be able to do the following: Describe each data manipulation language (DML) statement Insert rows.
Introduction to SQL PART Ⅰ 第一讲 Writing Basic SQL SELECT Statements.
4 Copyright © 2007, Oracle. All rights reserved. Manipulating Large Data Sets.
10 Copyright © Oracle Corporation, All rights reserved. Including Constraints.
6 Copyright © 2005, Oracle. All rights reserved. Managing Schema Objects.
8 Copyright © 2007, Oracle. All rights reserved. Managing Schema Objects.
Copyright © 2004, Oracle. All rights reserved. Lecture 4: 1-Retrieving Data Using the SQL SELECT Statement 2-Restricting and Sorting Data Lecture 4: 1-Retrieving.
2 Copyright © 2004, Oracle. All rights reserved. Restricting and Sorting Data.
15 Copyright © Oracle Corporation, All rights reserved. Using SET Operators.
Oracle 11g DATABASE DEVELOPMENT LAB2. Chapter- 2  These commands, which could be issued from SQL*Plus or SQL Developer,  will make it possible to log.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Copyright © 2004, Oracle. All rights reserved. Using the Set Operators.
23 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Answers: Advanced Features.
2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. BI Publisher: Technology and Architecture.
6 Copyright © 2007, Oracle. All rights reserved. Retrieving Data Using Subqueries.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
2 Copyright © 2009, Oracle. All rights reserved. Restricting and Sorting Data.
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. BI Publisher Server: Administration and Security.
5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with Layout Editor.
12 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Creating Data Models and BI Publisher Reports Based on Other Data Sources.
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Creating RTF Templates by Using Template Builder.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
Join CSED421 Database Systems Lab. Joining Tables Use a join to query data from more than one table. SELECTtable1.column, table2.column FROMtable1, table2.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
22 Copyright © 2009, Oracle. All rights reserved. Filtering Requests in Oracle Business Intelligence Answers.
2 Copyright © 2004, Oracle. All rights reserved. ADF Development Process.
Copyright Ó Oracle Corporation, All rights reserved. 77 Creating LOVs and Editors.
9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Scheduling and Bursting Reports.
I Copyright © 2009, Oracle. All rights reserved. Introduction.
1 Copyright © 2006, Oracle. All rights reserved. Introduction.
1 Copyright © 2007, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
1 Copyright © 2007, Oracle. All rights reserved. Introducing the Oracle Database 11g SQL and PL/SQL New Features.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
17 Copyright © 2006, Oracle. All rights reserved. Information Publisher.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
1 Copyright © 2009, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
13 Copyright © 2004, Oracle. All rights reserved. Migrating SQL Statements.
1 Copyright © 2004, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement.
Introduction.
Chapter 1 Introduction.
Introduction.
Chapter 1 Introduction.
Introduction.
1 Manipulating Data. 2 Objectives After completing this lesson, you should be able to do the following:  Describe each data manipulation language (DML)
Introduction.
Chapter 1 Introduction.
Using SQL*Plus.
Presentation transcript:

4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Using Data Model Editor to Create Data Models Based on a SQL Query Data Set

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Objectives After completing this lesson, you should be able to: Describe samples used for the course Describe the features of Data Model Editor Create and edit a data model based on a SQL Query data set Define parameters and a list of values (LOV) for a data model Create reports based on these data models

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Introducing Sample Lite

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Introducing Sample Schemas Sample schemas: Are provided with Oracle Database Provide a common platform for examples in each release of Oracle Database Are a set of interlinked schemas

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Introducing Sample Schemas: HR Data Model COUNTRIES COUNTRY_ID COUNTRY_NAME REGION_ID DEPARTMENTS DEPARTMENT_ID DEPARTMENT_NAME MANAGER_ID LOCATION_ID EMPLOYEES EMPLOYEE_ID FIRST_NAME LAST_NAME PHONE_NUMBER HIRE_DATE JOB_ID SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID JOBS JOB_ID JOB_TITLE MIN_SALARY MAX_SALARY JOB_HISTORY EMPLOYEE_ID START_DATE END_DATE JOB_ID DEPARTMENT_ID LOCATIONS LOCATION_ID STREET_ADDRESS POSTAL_CODE CITY STATE_PROVINCE COUNTRY_ID REGIONS REGION_ID REGION_NAME HR

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Introducing Sample Schemas: OE Data Model PRODUCT INFORMATION PRODUCT_ID CATEGORY WEIGHT_CLASS WARRANTY_PERIOD SUPPLIER_ID PRODUCT_STATUS LIST_PRICE MIN_PRICE CATALOG_URL ORDER_ITEMS ORDER_ID LINE_ITEM_ID PRODUCT_ID UNIT_PRICE QUANTITY ORDERS ORDER_ID ORDER_DATE ORDER_MODE CUSTOMER_ID SHIP_MODE ORDER_STATUS SALES_REP_ID ORDER_TOTAL PRODUCT DESCRIPTIONS PRODUCT_ID LANGUAGE_ID PRODUCT_NAME PRODUCT_DESCRIPTION INVENTORIES PRODUCT_ID WAREHOUSE_ID QUANTITY_ON_HAND CUSTOMERS CUSTOMER_ID CUST_FIRST_NAME CUST_LAST_NAME CUST_ADDRESS_TYP STREET_ADDRESS POSTAL_CODE CITY STATE_PROVINCE COUNTRY_ID PHONE_NUMBERS CREDIT_LIMIT CUST_ ACCOUNT_MGR_ID NLS_LANGUAGE NLS_TERRITORY WAREHOUSES WAREHOUSE_ID WAREHOUSE_NAME LOCATION_ID HR OE EMPLOYEESREGIONS

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Introducing Data Model Editor Data Model Editor allows you to: Create data sets Query data Structure data Aggregate data Customize data Create calculations Perform advanced tasks

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Exploring the Data Model Editor User Interface

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Examining Data Model Properties

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Supported Data Sources BI Publisher supports the following data sources: SQL query MDX query (including Essbase) Oracle BI Analysis View object Web service LDAP query XML file MS Excel file HTTP(XML/RSS feed)

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Creating a Simple Data Model Based on a SQL Query Data Set 1.Define default data source and output options. 2.Add a SQL query data set. 3.Build a query in Query Builder. 4.Save the data model. 5.View the XML output and save the sample data.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step1: Defining Default Data Source and Output Options 1 2 3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 2: Adding a SQL Query Data Set

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder: Select Objects

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder: Define Relations

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder: Select Columns

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder: Add Aliases and Conditions

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 3: Building a Query in Query Builder: View Results and Save Query 1 2 3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 4: Saving the Data Model 1 2

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Step 5: Viewing XML Output and Saving Sample Data 1 2 3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Creating a Report Based on a Data Model 1 2

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Describing Parameters and LOVs

Copyright © 2011, Oracle and/or its affiliates. All rights reserved

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Adding Parameters 1 2 Create a parameter

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Additional Examples of Parameters Reorder the parameters. Parameter Type = Menu

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Additional Examples of Parameters Date picker is restricted to the year Data Type = Date Data Type = Menu

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Adding a Bind Variable to a Query The original SQL Query for the simple salary report 1 The SQL query for the salary report after the bind variable is added 2 3 4

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Adding a Bind Variable to a Query Enter the parameter value and click Apply.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Configuring Parameter Settings for a Report 1 2

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Adding LOVs: SQL Query Type Create a list of values.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Adding LOVs: SQL Query Type 6 7 8

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Additional Example of an LOV

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Cascading Parameters

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Viewing a Report with Parameters 1 2 3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Summary In this lesson, you should have learned how to: Describe samples used for the course Describe the features of Data Model Editor Create and edit a data model based on a SQL Query data set Define parameters and a list of values (LOV) for a data model Create reports based on these data models

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Practice 4: Overview This practice covers the following topics: Creating and editing a data model based on a SQL query data set Defining parameters and LOVs for a data model Creating an auto-generated RTF template Viewing a report and changing parameter attributes by using Report Editor

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Quiz: Overview This quiz examines your knowledge of the concepts discussed in the lesson.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Quiz A data model is an object that resides in the Catalog as a separate object and contains a set of instructions for BI Publisher to retrieve and structure data for a report. a.True b.False

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Quiz You use the “Design and Output” pane of the Query Builder to display and select objects from which you can build queries. a.True b.False

Copyright © 2011, Oracle and/or its affiliates. All rights reserved Quiz You can add parameters to a data model definition, enabling users to interact with reports and dynamically specify data of interest. a.True b.False