Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL Select and From Functions

135715Mar 6 2007 — edited Mar 7 2007
Can sql aggregate functions be added to an interface select clause and from clause.

I want to have a datasource where one of the columns is an aggregate such as a count, which would need the ability to indicate a from clause function group by, or having by. In the Designer Diagram tab for the interface, it seems you can only apply sql functions to where clause joins or filters.

I want to have a query such as follows as my datasource

select columnA, count(*) as thecount
from table x
group by columnA
order by thecount asc

and ultimately

select columnA, thecount
from (select columnA, count(*) as thecount
from table x
group by columnA
order by thecount asc)
where rownum <1001

Can this be done in the ODI Designer, without creating a physical custom view on the database?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 4 2007
Added on Mar 6 2007
2 comments
890 views