Album » OptD » q16  (9 Slides)     [Page 1 of 1] :: Jump To  
select
    p_brand,
    p_type,
    p_retailprice,
    count(distinct ps_suppkey) as supplier_cnt
from
    partsupp,
    part
where
    p_partkey = ps_partkey
    and p_retailprice :varies
    and ps_suppkey in (
        select
            s_suppkey
        from
            supplier
        where
            s_acctbal :varies
    )
group by
    p_brand,
    p_type,
    p_retailprice
order by
    supplier_cnt desc,
    p_brand,
    p_type,
    p_retailprice

  Up one level  
plan_diag * Plan Diagram * 1252 x 786 * (166KB)
reduced_diag * 1258 x 781 * (152KB)
cost_diag * Plan Cost Diagram * 1252 x 786 * (185KB)
card_diag * Plan Cardinality Diagram * 1252 x 786 * (174KB)
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 * (32KB)
plan4 * PLAN 4 * 1256 x 870 * (31KB)
plan5 * PLAN 5 * 1256 x 870 * (32KB)
  plan2  
  plan3  
  plan4  
  plan5  
Album last updated on 5/19/07 1:07 AM
Powered by JAlbum 7.1 and BluPlusPlus skin