As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Does anybody know that how can i get data in a SELECT Statment from another select query for example SELECT orders.order_id, cart_items.cart_item_id, z120shipjoin.order_ups_delivered_time, FROM JOINS WHERE CLAUSE
THIS IS THE z120shipjoin QUERY REFERENCED ABOVE SELECT order_ups_delivered_time etc FROM JOINS WHERE CLAUSEThis message has been edited. Last edited by: <Kathryn Henning>,
Thanks Francis for your reply Let me be more clear; Our requirements are as under we are selecting some records from a table using join and union them with same table and same join; then we select some more records from another table and some of the records from the select/union query How can i achieve this? Thanks in advance
Hey Francis, It was pretty simple. I created view from one of the Select Statement and then joined and selected records from the view and another table in another select statement Here is the code example:
SQL Create OR Replace view view1 as select * from table1; -*this is the select query that will be referenced later *- END SQL Prepare SQLOUT FOR -* as these columns will be printed later in report *- Select table2.column1, table2.column2, view1.column1, view1.column2 from table2 Inner Join view1; -* this is the query that get records from table2 and view that was just created *- END
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF
Originally posted by Francis Mariani: How solved? Might be nice for others to know....
Hey Francis, It was pretty simple. I created view from one of the Select Statement and then joined and selected records from the view and another table in another select statement Here is the code example:
SQL Create OR Replace view view1 as select * from table1; -*this is the select query that will be referenced later *- END SQL Prepare SQLOUT FOR -* as these columns will be printed later in report *- Select table2.column1, table2.column2, view1.column1, view1.column2 from table2 Inner Join view1; -* this is the query that get records from table2 and view that was just created *- END
WF 8.0.08, Dev Studio, Apache Tomcat/7, MS IIS 7, MySQL, MS Windows 7, I.E. 9, Output formats: HTML, Excel 2007, PDF, Active HTML, Active PDF