Album » OptD » q10  (13 Slides)     [Page 1 of 1] :: Jump To  
select
    c_custkey,
    c_name,
    sum(l_extendedprice * (1 - l_discount)) as revenue,
    c_acctbal,
    n_name,
    c_address,
    c_phone,
    c_comment
from
    customer,
    orders,
    lineitem,
    nation
where
    c_custkey = o_custkey
    and l_orderkey = o_orderkey
    and o_orderdate >= '1993-10-01'
    and o_orderdate < '1994-01-01'
    and c_nationkey = n_nationkey
    and c_acctbal :varies
    and l_extendedprice :varies
group by
    c_custkey,
    c_name,
    c_acctbal,
    c_phone,
    n_name,
    c_address,
    c_comment
order by
    revenue desc

  Up one level  
plan_diag * Plan Diagram * 1252 x 786 * (168KB)
reduced_diag * 1258 x 781 * (146KB)
cost_diag * Plan Cost Diagram * 1252 x 786 * (198KB)
card_diag * Plan Cardinality Diagram * 1252 x 786 * (200KB)
plan1 * PLAN 1 * 1256 x 870 * (35KB)
  plan_diag  
  reduced_diag  
  cost_diag  
  card_diag  
  plan1  
plan2 * PLAN 2 * 1256 x 870 * (35KB)
plan3 * PLAN 3 * 1256 x 870 * (34KB)
plan4 * PLAN 4 * 1256 x 870 * (34KB)
plan5 * PLAN 5 * 1256 x 870 * (34KB)
plan6 * PLAN 6 * 1256 x 870 * (34KB)
  plan2  
  plan3  
  plan4  
  plan5  
  plan6  
plan7 * PLAN 7 * 1256 x 870 * (34KB)
plan8 * PLAN 8 * 1256 x 870 * (34KB)
plan9 * PLAN 9 * 1256 x 870 * (34KB)
  plan7  
  plan8  
  plan9  
Album last updated on 5/19/07 1:06 AM
Powered by JAlbum 7.1 and BluPlusPlus skin