Album » OptD » q3  (14 Slides)     [Page 1 of 1] :: Jump To  
select
    l_orderkey,
    sum(l_extendedprice * (1 - l_discount)) as revenue,
    o_orderdate,
    o_shippriority
from
    customer,
    orders,
    lineitem
where
    c_mktsegment = 'BUILDING'
    and c_custkey = o_custkey
    and l_orderkey = o_orderkey
    and o_totalprice :varies
    and l_extendedprice :varies
group by
    l_orderkey,
    o_orderdate,
    o_shippriority
order by
    revenue desc,
    o_orderdate

  Up one level  
plan_diag * Plan Diagram * 1252 x 786 * (171KB)
reduced_diag * 1258 x 781 * (132KB)
cost_diag * Plan Cost Diagram * 1252 x 786 * (187KB)
card_diag * Plan Cardinality Diagram * 1252 x 786 * (185KB)
plan1 * PLAN 1 * 1256 x 870 * (31KB)
  plan_diag  
  reduced_diag  
  cost_diag  
  card_diag  
  plan1  
plan2 * PLAN 2 * 1256 x 870 * (31KB)
plan3 * PLAN 3 * 1256 x 870 * (31KB)
plan4 * PLAN 4 * 1256 x 870 * (32KB)
plan5 * PLAN 5 * 1256 x 870 * (31KB)
plan6 * PLAN 6 * 1256 x 870 * (32KB)
  plan2  
  plan3  
  plan4  
  plan5  
  plan6  
plan7 * PLAN 7 * 1256 x 870 * (31KB)
plan8 * PLAN 8 * 1256 x 870 * (32KB)
plan9 * PLAN 9 * 1256 x 870 * (31KB)
plan10 * PLAN 10 * 1256 x 870 * (30KB)
  plan7  
  plan8  
  plan9  
  plan10  
Album last updated on 5/19/07 1:04 AM
Powered by JAlbum 7.1 and BluPlusPlus skin