Help:Octofy: Visual query builder

From Sherlock Software
Query builder and query data analysis windows screenshot

Octofy can perform data analysis on any query data. Query builder and query data analysis window integrates database object browser, search, object data preview, column value frequency check, visual query editor, and query statement syntax check to help users build a SQL SELECT statement. Then use the query statement to get the data from the database and pass the data to the data analysis window for analysis.

Add tables or views (objects)

The database object browser and search panelNo1.png are on the left side of the window. It has the same functions as the database object browser and search panel in the main window. You can use it to find tables or views in the database and add them to the visual query editorNo2.png on the top right of the window.

  • Add a table or view from the database object tree. Then,
    • Click on the Object explorer tab
    • Find the table or view node in the data object tree
      • Double-click it to add it to the visual query builder panel.
      • Or, right-click the node and select Add menu item from the pop-up menu.
      • Or, drag the node from the tree and drop it to the visual query builder panel.
  • Add a table or view from the search panel
    • Click on the Search tab
    • Enter what you need to find in the search box, then press Enter key or click the Search button to start searching
    • Find the table or view item in the search results list box. Then,
      • Double-click it to add it to the visual query builder panel.
      • Or, right-click the node and select Add menu item from the pop-up menu.
      • Or, drag the node from the list box and drop it to the visual query builder panel.

Preview object data or check column values frequency

You can preview the data for an object that is added to the visual query editor.
To preview the data of an object, right-click on the title area of the object and then click on the Preview data menu item from the popup menu.
You can also check the column values frequency for a column of an object that is added to the visual query editor.
To check the column values frequency of an object, select the column in the column list box and right-click on it, and click on the Column values frequency menu item from the popup menu.

Join objects

After adding objects to the visual query editor panel, the next step is to link the objects by joining the objects with specified columns. To connect two objects, drag a column from the left object and drop it to a column in the right object. If two objects are linked by two or more columns, repeat the drag and drop operation for all related columns.
Two database objects can be connected by the following join types:

Join type Icon
Inner join Inner join.png
Left join Left join.png
Right join Right join.png
Full join Full join.png
  • To change the join type, right-click on the join icon and select the join type from the pop-up menu.
  • The connection between two objects can be removed by right-clicking on the join icon and select the Remove menu item from the pop-up menu.

View

Select columns

Add query conditions

Parse the statement

Preview the query data

Perform data analysis

Back to Octofy User Manual