Important: IBM Cloud Pak® for Data
Version 4.7 will reach end of support (EOS) on 31 July, 2025. For more information, see the
Discontinuance of service announcement for
IBM Cloud Pak for Data Version 4.X.
Upgrade to IBM Software Hub Version
5.1 before IBM Cloud Pak for Data Version 4.7 reaches end of
support. For more information, see Upgrading IBM Software Hub in the IBM Software Hub Version 5.1
documentation.
You can use the SQL builder to
construct advanced SQL queries and filters to query data from Db2® Database.
Procedure
To join virtual objects in the SQL builder,
complete the following steps.
- In Data objects, drag any object onto the canvas.
- Use the connecting dots to connect the objects together.
- On the Configure Join page, click Add join
key.
- Select one of the following join types:
- Inner: Only view information that matches in both groups.
- Left outer: Use when you have a main group and want to add extra details
from another group.
- Right outer: Use when you have a secondary group and want to add extra
details from the main group.
- Full outer: View all the information from both groups.
- Click Summary to view all the objects and associated
settings.
- Optional: Click Explain the Statement to view a
diagram of the query execution plan.
- Click Run to run the query.
- Optional: Click the Tune function to fine-tune query
performance.
What to do next
After you join the tables, you can proceed to publish the joined views to the Watson Knowledge
Catalog. For more information, see Publishing virtual data to a catalog with Watson Query.