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

select
    sum(l_extendedprice) / 7.0 as avg_yearly
from
    lineitem,
    part
where
    p_partkey = l_partkey
    and p_retailprice :varies
    and l_quantity <= (
        select
            0.2 * avg(l_quantity)
        from
            lineitem
        where
            l_partkey = p_partkey
            and l_extendedprice :varies
    )

Optimizer Diagrams
  Up one level  
Plan Diagram * 1919 x 1125 * (93KB)
Reduced Diagram (20%) * 1919 x 1125 * (94KB)
Cardinality Diagram * 1919 x 1125 * (96KB)
Cost Diagram * 1919 x 1125 * (97KB)
Plan1 * 1919 x 1125 * (63KB)
  Plan Diagram  
  Reduced Diagram (20%)  
  Cardinality Diagram  
  Cost Diagram  
  Plan1  
Plan2 * 1919 x 1125 * (65KB)
  Plan2  
Album last updated on 2/9/09 9:59 PM
Powered by Jalbum 8.1 and BluPlusPlus skin
Indian Institute of Science