Skip to content

DBDA15/hands-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hands-on

hands-on project solving the Shipping Priority Query (Q3) of the TPC-H benchmark partially.

query

select l.ORDERKEY, sum(EXTENDEDPRICE*(1-DISCOUNT)) as revenue
  from
    ORDERS o,
    LINEITEM l
    where
      l.ORDERKEY = o.ORDERKEY
      and ORDERDATE < date '[DATE]'
      and SHIPDATE > date '[DATE]'
      group by
        l.ORDERKEY
        order by
          revenue desc

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published