Updated on 2026-11-06 GMT+08:00

Calling a Function Using SQL

Description

Calls a specified function.

Syntax

SELECT function_name(column_name) FROM table_name;

Requirements

None

Keywords

function_name: The name of the function created on FunctionGraph.

Example

Call the sample function remote_udf to return the average value of real_stock_rate.

1
SELECT remote_udf(real_stock_rate)  FROM dw_ad_estimate_real_stock_rate LIMIT 1000;