|
|
Archives of the TeradataForum
Message Posted: Mon, 18 Jan 2010 @ 23:58:37 GMT
Subj: | | Sub query refactoring |
|
From: | | Kalki, Santosh |
Hello
Does TD support sub query refactoring feature of Oracle? In Oracle one uses With clause..apparently TD uses that for roll up operations.
In Oracle
With employee as
( select first_name, Last_name, dept_id from employee),
Department as ( select dept_id, name from department)
Select e.first_name, e.last_name, d.department
from employee e, department d where e.dept_id = d.dept_id;
Is there a construct similar to above simple oracle example?
Thanks
| |