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

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

Optimizer Diagrams
  Up one level  
Plan Diagram * 1920 x 1170 * (170KB)
Reduced Diagram (20%) * 1920 x 1170 * (163KB)
Cardinality Diagram * 1920 x 1170 * (165KB)
Cost Diagram * 1920 x 1170 * (165KB)
Plan1 * 1920 x 1170 * (107KB)
  Plan Diagram  
  Reduced Diagram (20%)  
  Cardinality Diagram  
  Cost Diagram  
  Plan1  
Plan2 * 1920 x 1170 * (106KB)
Plan3 * 1920 x 1170 * (107KB)
Plan4 * 1920 x 1170 * (119KB)
Plan5 * 1920 x 1170 * (107KB)
Plan6 * 1920 x 1170 * (106KB)
  Plan2  
  Plan3  
  Plan4  
  Plan5  
  Plan6  
Plan7 * 1920 x 1170 * (106KB)
Plan8 * 1920 x 1170 * (108KB)
  Plan7  
  Plan8  
Album last updated on 2/9/09 9:58 PM
Powered by Jalbum 8.1 and BluPlusPlus skin
Indian Institute of Science