> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tiberostudio.en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tiberostudio.en/about/sql-editor/control-result-data.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/tiberostudio.en/~gitbook/mcp).

# Manipulating results

## Top Area Functions

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/OpKgKPbxGTDpa8k0DJFk/image.png" alt=""><figcaption><p>Figure 1. SQL Result - Top</p></figcaption></figure>

### 1. Result History

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/WMa5lvluS76KhkDzl0tv/image.png" alt=""><figcaption><p>Figure 2. Result History</p></figcaption></figure>

Click the executed SQL area and a list of previously executed SQL Lists is displayed. Click List to reexecute the SQL.

### 2. SQL Expression

When the users click the  <img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/DBNY5kmbVxRZam0gstXg/image.png" alt="" data-size="original"> button, the Expression Input appears in the area below Result History. \
The users can enter a conditional clause in the Expression Input, run the SQL containing the conditional clause as clicking the  ![](https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/wzd5IuJ2GXMxlLkuLeLC/image.png) button.&#x20;

Other key features are as follows

| Icon                                                                                                                                  | Description                                       |
| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| <img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/9hAuOxcgLthYrfoXSwvm/image.png" alt="" data-size="original"> | Displays the history of the expression.           |
| <img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/OAQzByRC6jLIVWBgZxoQ/image.png" alt="" data-size="original"> | Reruns the SQL containing the conditional clause. |
| <img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/wjT0cUVJc4DEQXGMt1AW/image.png" alt="" data-size="original"> | Reruns the previous conditional clause.           |
| <img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/ygiALaDYMC783K6dExjC/image.png" alt="" data-size="original"> | Reruns the next conditional clause.               |

### 3. Customize Filter

The users can modify the expression of conditional clauses and columns in detail as clicking the  ![](https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/USF8b77pfsBHpAHGskvw/image.png) button.

#### Columns tab

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/F0o4ridPQbuZGSIoQctZ/image.png" alt="" width="563"><figcaption><p>Figure 3. Customize Filter - Columns</p></figcaption></figure>

The users can customize the expression related to columns in detail.&#x20;

The following is about the main configuration options.

| Features | Description                                                                   |
| -------- | ----------------------------------------------------------------------------- |
| Search   | Searches the information by column name.                                      |
| Visible  | Sets whether the column is visible or not.                                    |
| Pinned   | Pins the column's position to the left.                                       |
| Order    | Sets the Order state of the column. (ASC, DESC, NONE)                         |
| Criteria | Enters the conditionals associated with the column and Omits the column name. |

#### Custom tab

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/FSnKeD6jRFe8F2fabys9/image.png" alt="" width="563"><figcaption><p>Figure 4. Customize Filter - Custom</p></figcaption></figure>

The users can write WHERE and ORDER BY conditional clauses to add to the existing SQL. Conditions are prioritized on the Columns tab.

## Context Menu

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/qBzqTzi2N4TPQCZsB6TG/image.png" alt=""><figcaption><p>Figure 5. Result Context Menu</p></figcaption></figure>

### 1. Copy

Copy the value of a cell.

### 2. Advanced Copy

Customize the options to copy the value of a cell.&#x20;

#### Advanced Copy

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/ZkfAhweHoYeZOEg8KcSV/image.png" alt="" width="350"><figcaption><p>Figure 6. Advanced Copy</p></figcaption></figure>

The main options are as follows.

| Options             | Description                                                     |
| ------------------- | --------------------------------------------------------------- |
| Copy Header         | Includes the column name in the copy.                           |
| Copy Row Number     | Includes the Row number in the copy.                            |
| Always quote values | Always wraps values in quotes.                                  |
| Column Delimiter    | Sets the separator for columns when there are multiple columns. |
| Row Delimiter       | Sets the delimiter for rows when there are multiple rows.       |
| Quote Character     | Sets the character to represent a quote.                        |

#### Copy Column Header

Copies the column name of the selected cells.

#### Copy Row Number

Copies the Row Number of the selected cells.

#### Copy as CSV

Copies the contents of the selected cells in CSV format.

#### Copy as TXT

Copies the contents of the selected cells in MarkDown txt format.

#### Copy as SQL

Copies the INSERT syntax generated based on the value of the selected cell.

### 3. Paste

Pastes the copied value. However, it is limited to the table that can be modified.

### 4. Order By

Reruns the SQL by setting the Order By value of the selected column.

### 5. Customize Filter

This is the same as [\[Customize Filter\]](#id-3.-customize-filter).

### 6. Pin Column

Pins the order of the columns to the left.

### 7. Remove all Filters/Orderings

Removes all conditionals and runs SQL again.<br>

### 8. Go To Row Number

Moves the focus to the entered Row Number.

### 9. Edit

#### Value View

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/41CziAoDi7CFXk0MIdro/image.png" alt="" width="563"><figcaption><p>Figure 7. Value View</p></figcaption></figure>

The users can check the details of the selected value in the form of a window. If the viewed object is an editable object, editting the value is available.

#### Inline Edit

Activated only when the viewed object is an editable object, the input is activated in the cell of the table and the value is changed to a form that can be edited.

#### Set as Null

Activates only when the viewed object is an editable object, and changes the value of the selected cell to NULL.

#### Set as Default

This function is only active when the viewed object is an editable object, and changes the value of the selected cell to the type-specific Default value.

#### Add a New Row

Activated only when the viewed object is an editable object, this option adds a new row.

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/3uvR3dIFhJsavCfYrUJV/image.png" alt=""><figcaption><p>Figure 8. Added Row Cell</p></figcaption></figure>

#### Duplicate Row

Activated only when the viewed object is an editable object, this option copies and adds the contents of the selected Row.

#### Delete Row

Activated only when the viewed object is an editable object, this function removes the contents of the selected Row.

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/OYBwLafD6jTbkrSJ4wIk/image.png" alt=""><figcaption><p>Figure 9. Deleted Row Cell</p></figcaption></figure>

### 10. Data Export

This is described in the [\[Export Data\]](https://docs.tibero.com/tiberostudio.en/about/sql-editor/export-data.md) chapter.

### 11. Refresh

Reruns SQL. If a conditional clause is set, it will be based on the SQL with the conditional clause.

###

***

### Bottom Area Functions

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/v6Kjy6zrxM2z4R4LJQWj/image.png" alt=""><figcaption><p>Figure 10. SQL Result - Bottom</p></figcaption></figure>

### 1. Refresh

This is the same as [\[Context Menu\] - \[Refresh\]](#id-12.-refresh).

### 2. Save

Runs the actual DML SQL statements corresponding to the operation when there is a row that has been edited (added, deleted, modified).

### 3. Cancel

Removes all the contents of the operation when there is a row that has been edited (added, deleted, or modified).

### 4. Edit Row

It is activated only when the viewed object is a modifiable object, and displays a modal to modify the value of the selected Row.

### 5. Add Row

Activated only when the viewed object is an editable object, it adds a new Row.

### 6. Duplicate Row

Activated only when the viewed object is an editable object, it copies and adds the selected Row.

### 7. Delete Row

Activated only when the viewed object is an editable object, it removes the selected Row.

### 8. Go To Top

Moves the focus to the first Row of the current page.

### 9. Go To Bottom

Moves focus to the last row of the current page.

### 10. Export

This is described in the [\[Export Data\]](https://docs.tibero.com/tiberostudio.en/about/sql-editor/export-data.md) chapter.

### 11. Fetch All

Fetches all data. Page transitions may be faster after Fetch All, but be aware that Fetch All operations can be very slow when there is a large amount of data.

### 12. Go To Line

Enters a value of the form `Row Number`, `Column Number` to move focus to the corresponding cell.

###

***

## Limitations

{% hint style="warning" %}
**Note**

Restrict functions that require SQL to be rerun for smooth application working (Insert Conditional, Refresh, etc.) from being run when there is a Task allocated to the editor session.
{% endhint %}

###
