Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nested Query

Status
Not open for further replies.

rockxc

Programmer
Joined
Sep 30, 2003
Messages
1
Location
US
Hi,
I want to create the following report.
select * from ABC where createdate>=(select Startdate from XYZ where entereddate=&quot;Date Entered by User&quot;) and createdate<=(select Endate from XYZ where entereddate=&quot;Date Entered by User&quot;)

There is no relation between ABC and XYZ.
I am creating a report using web intelligence.
Thanks
rex
 
I assume you are using WebI 2.7.x. You can't build subqueries in WebI 2.7. However, you could build the condition you need as a condition object in Designer and then use it in WebI.

WebI 6.1 has the ability to create what you want using &quot;advanced&quot; filters in the query panel.

Steve Krandel
Knightsbridge Solutions
formerly BASE Consulting Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top