Sample Picasso Diagrams » QT18  (23 Slides)     [Page 1 of 2] :: Jump To  
Query Template

select
    c_name,
    c_custkey,
    o_orderkey,
    o_orderdate,
    o_totalprice,
    sum(l_quantity)
from
    customer,
    orders,
    lineitem
where
    o_orderkey in (
        select
            l_orderkey
        from
            lineitem
        where l_extendedprice :varies
        group by
            l_orderkey having
                sum(l_quantity) > 300
    )
    and c_custkey = o_custkey
    and o_orderkey = l_orderkey
    and c_acctbal :varies
group by
    c_name,
    c_custkey,
    o_orderkey,
    o_orderdate,
    o_totalprice
order by
    o_totalprice desc,
    o_orderdate

Optimizer Diagrams
  You have reached the first page You have reached the first page      Up one level      Next page Last page  
Plan Diagram * 1919 x 1125 * (100KB)
Reduced Diagram (20%) * 1919 x 1125 * (99KB)
Cardinality Diagram * 1919 x 1125 * (106KB)
Cost Diagram * 1919 x 1125 * (104KB)
Plan1 * 1919 x 1125 * (70KB)
  Plan Diagram  
  Reduced Diagram (20%)  
  Cardinality Diagram  
  Cost Diagram  
  Plan1  
Plan2 * 1919 x 1125 * (67KB)
Plan3 * 1919 x 1125 * (67KB)
Plan4 * 1919 x 1125 * (70KB)
Plan5 * 1919 x 1125 * (74KB)
Plan6 * 1919 x 1125 * (66KB)
  Plan2  
  Plan3  
  Plan4  
  Plan5  
  Plan6  
Plan7 * 1919 x 1125 * (74KB)
Plan8 * 1919 x 1125 * (70KB)
Plan9 * 1919 x 1125 * (68KB)
Plan10 * 1919 x 1125 * (68KB)
Plan11 * 1919 x 1125 * (72KB)
  Plan7  
  Plan8  
  Plan9  
  Plan10  
  Plan11  
Album last updated on 2/9/09 9:59 PM
Powered by Jalbum 8.1 and BluPlusPlus skin
Indian Institute of Science