LES04
LES04
LES04
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
4-2
4-3
4-4
HR
EMPLOYEES EMPLOYEE_ID FIRST_NAME LAST_NAME EMAIL PHONE_NUMBER HIRE_DATE JOB_ID SALARY COMMISSION_PCT MANAGER_ID DEPARTMENT_ID
4-5
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
PRODUCT INFORMATION PRODUCT_ID CATEGORY WEIGHT_CLASS WARRANTY_PERIOD SUPPLIER_ID PRODUCT_STATUS LIST_PRICE MIN_PRICE CATALOG_URL
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_EMAIL ACCOUNT_MGR_ID NLS_LANGUAGE NLS_TERRITORY WAREHOUSES WAREHOUSE_ID WAREHOUSE_NAME LOCATION_ID
4-6
4-8
4 - 10
4 - 11
4 - 13
4 - 15
1 2
4 - 16
3 4 5
4 - 17
4 - 18
4 - 19
4 - 20
4 - 21
4 - 22
Step 3: Building a Query in Query Builder: View Results and Save Query
1 2
4 - 24
4 - 25
4 - 26
4 - 27
4 - 28
Create a parameter.
Adding Parameters
2 8 1
4 - 30
4 - 31
4 - 32
The SQL query for the salary report after the bind variable is added
3 4
4 - 33 Copyright 2011, Oracle and/or its affiliates. All rights reserved.
4 - 34
4 - 35
4 - 36
7 6
4 - 37
4 - 38
Cascading Parameters
4 - 39
4 - 40
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
4 - 41
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
4 - 42