Sample Picasso Diagrams » QT16  (8 Slides)     [Page 1 of 1] :: Jump To  
Query Template

select
    p_brand,
    p_type,
    p_size,
    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_size
order by
    supplier_cnt desc,
    p_brand,
    p_type,
    p_size

Optimizer Diagrams
  Up one level  
Plan Diagram * 1920 x 1170 * (161KB)
Reduced Diagram (20%) * 1920 x 1170 * (159KB)
Cardinality Diagram * 1920 x 1170 * (160KB)
Cost Diagram * 1920 x 1170 * (162KB)
Plan1 * 1920 x 1170 * (107KB)
  Plan Diagram  
  Reduced Diagram (20%)  
  Cardinality Diagram  
  Cost Diagram  
  Plan1  
Plan2 * 1920 x 1170 * (108KB)
Plan3 * 1920 x 1170 * (108KB)
Plan4 * 1920 x 1170 * (108KB)
  Plan2  
  Plan3  
  Plan4  
Album last updated on 2/9/09 9:58 PM
Powered by Jalbum 8.1 and BluPlusPlus skin
Indian Institute of Science