Online Documentation for SQL Query for DB2
When all the query parameters are set, you can execute the query in Visual Query Builder.
To execute a query, select the Query | Execute main menu item, or use the Execute query button on the main toolbar. You can also use the F9 hot key for the same purpose.
If the query parameters are specified correctly, the query is executed and, in case the query statement is supposed to return data (e.g. as SELECT statement), the Results area containing the returned data appears within the Data tab. The position of the tab depends on the Query results on separate tab option selection (see Environment options | Preferences). If any of the query parameters contain errors, the query execution is stopped and the corresponding error message is displayed in the status bar area at the bottom of the Builder window.
By default, data returned by a query are displayed as a grid (see Data View for details).