Professional Documents
Culture Documents
Cap 1
Cap 1
Objectives
1-2
Questions About You
1-3
Lesson Agenda
1-4
Course Objectives
1-5
Course Topics
1-6
Lesson Agenda
1-7
Sample Schemas Used in the Course
1-8
The Human Resources (HR) Schema
DEPARTMENTS LOCATIONS
department_id location_id
department_name street_address
manager_id postal_code
location_id city
state_province
country_id
JOB_HISTORY
employee_id
start_date
EMPLOYEES
employee_id
end_date
first_name
job_id
last_name COUNTRIES
department_id email country_id
phone_number country_name
hire_date region_id
job_id
salary
commission_pct
JOBS manager_id
job_id department_id
job_title REGIONS
min_salary region_id
max_salary region_name
1-9
The Sales History (SH) Schema
TIMES
PROMOTIONS
time_id
promo_id day_name
promo_name day_number_in_week
promo_subcategory day_number_in_month
promo_subcategory_id calendar_week_number
promo_category fiscal_week_number
promo_category_id week_ending_day
promo_cost week_ending_day_id
promo_begin_date calendar_month_number
promo_end_date fiscal_month_number
promo_total calendar_month_desc
promo_total_id calendar_month_id
fiscal_month_id
days_in_cal_month
days_in_fis_month
end_of_cal_month
SALES end_of_fis_month
COSTS calendar_month_name
prod_id prod_id fiscal_month_name
time_id cust_id calendar_quarter_desc
promo_id time_id calendar_quarter_id
channel_id channel_id fiscal_quarter_desc
unit_cost promo_id fiscal_quarter_id
unit_price quantity_sold days_in_cal_quarter
amount_sold days_in_fis_quarter
end_of_cal_quarter
end_of_fis_quarter
calendar_quarter_number
fiscal_quarter_number
CHANNELS calendar_year
channel_id calendar_year_id
channel_desc fiscal_year
channel_class fiscal_year_id
PRODUCTS channel_class_id days_in_cal_year
channel_total days_in_fis_year
channel_total_id end_of_cal_year
end_of_fis_year
1 - 10
The Sales History (SH) Schema
PRODUCTS CUSTOMERS
prod_id cust_id
prod_name cust_first_name
prod_desc cust_last_name
prod_subcategory cust_gender
prod_subcategory_id cust_year_of_birth
prod_subcategory_desc cust_marital_status COUNTRIES
prod_category cust_street_address country_id
prod_category_id cust_postal_code country_iso_code
prod_category_desc cust_city country_name
prod_weight_class cust_city_id country_subregion
prod_unit_of_measure cust_state_province country_subregion_id
prod_pack_size cust_state_province_id country_region
supplier_id country_id country_region_id
prod_status cust_main_phone_number country_total
prod_list_price cust_income_level country_total_id
prod_min_price cust_credit_limit country_name_hist
prod_total cust_email
prod_total_id cust_total
prod_src_id cust_total_id
prod_eff_from cust_src_id
prod_eff_to cust_eff_from
prod_valid cust_eff_to
cust_valid
1 - 11
Class Account Information
1 - 12
Activity Guide and Appendixes in the Course
1 - 13
SQL Environments Available in the Course
This course setup provides the following tools for you to execute SQL statements:
• Oracle SQL*Plus
• Oracle SQL Developer
• Oracle Enterprise Manager (EM)
1 - 14
Solutions, Labs, and Code Example Scripts
The solution scripts, labs scripts, and code example scripts are
available to you.
1 - 15
Summary
1 - 16