# print



The `print` operator outputs a single row containing one or more evaluated scalar expressions. Use `print` to test scalar functions, inspect expressions, or create a single-row table for `let` bindings and `lookup` operations.

## Usage [#usage]

### Syntax [#syntax]

```kusto
print [ColumnName1 =] Expression1 [, [ColumnName2 =] Expression2, ...]
```

### Parameters [#parameters]

* **`ColumnName`** (optional): The name to assign to the output column. If omitted, APL generates a default column name (`print_0`, `print_1`, and so on).
* **`Expression`**: A scalar expression to evaluate.

### Returns [#returns]

Returns a single-row table with one column per expression.

## Examples [#examples]

### Evaluate scalar expressions [#evaluate-scalar-expressions]

**Query**

```kusto
print greeting = strcat('Hello, ', 'APL'), sum_val = 20 + 22
```

**Output**

| greeting   | sum\_val |
| ---------- | -------- |
| Hello, APL | 42       |

### Bind a single-row table with `let` [#bind-a-single-row-table-with-let]

**Query**

```kusto
let base = print x = 20;
base
| project x = x + 10
```

**Output**

| x  |
| -- |
| 30 |

## List of related operators [#list-of-related-operators]

* [**datatable**](/apl/tabular-operators/datatable): Defines an inline multi-row table with an explicit schema.
* [**extend**](/apl/tabular-operators/extend-operator): Adds calculated columns to an existing table.
* [**project**](/apl/tabular-operators/project-operator): Selects and computes columns from a table.
