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

select
    n_name,
    sum(l_extendedprice * (1 - l_discount)) as revenue
from
    customer,
    orders,
    lineitem,
    supplier,
    nation,
    region
where
    c_custkey = o_custkey
    and l_orderkey = o_orderkey
    and l_suppkey = s_suppkey
    and c_nationkey = s_nationkey
    and s_nationkey = n_nationkey
    and n_regionkey = r_regionkey
    and r_name = 'ASIA'
    and o_orderdate >= date '1994-01-01'
    and o_orderdate < date '1995-01-01'
    and c_acctbal :varies
    and s_acctbal :varies
group by
    n_name
order by
    revenue desc

Optimizer Diagrams
  You have reached the first page You have reached the first page      Up one level      Next page Last page  
Plan Diagram * 1920 x 1170 * (170KB)
Reduced Diagram (20%) * 1920 x 1170 * (157KB)
Cardinality Diagram * 1920 x 1170 * (175KB)
Cost Diagram * 1920 x 1170 * (177KB)
Plan1 * 1936 x 1186 * (111KB)
  Plan Diagram  
  Reduced Diagram (20%)  
  Cardinality Diagram  
  Cost Diagram  
  Plan1  
Plan2 * 1936 x 1186 * (120KB)
Plan3 * 1936 x 1186 * (112KB)
Plan4 * 1936 x 1186 * (112KB)
Plan5 * 1936 x 1186 * (130KB)
Plan6 * 1936 x 1186 * (129KB)
  Plan2  
  Plan3  
  Plan4  
  Plan5  
  Plan6  
Plan7 * 1936 x 1186 * (111KB)
Plan8 * 1936 x 1186 * (112KB)
Plan9 * 1936 x 1186 * (114KB)
Plan10 * 1936 x 1186 * (131KB)
Plan11 * 1936 x 1186 * (110KB)
  Plan7  
  Plan8  
  Plan9  
  Plan10  
  Plan11  
Album last updated on 2/9/09 9:58 PM
Powered by Jalbum 8.1 and BluPlusPlus skin
Indian Institute of Science