SQUARE

Learn how to use the SQUARE math function in PlaidCloud Lakehouse. Returns the square of a number - see syntax, examples, and output.

Returns the square of a number.

Analyze Syntax

func.square(<x>)

Analyze Examples

func.square(7)

┌────┐
 49  
└────┘

SQL Syntax

SQUARE(<x>)

SQL Examples

SELECT SQUARE(7);

┌────┐
 49  
└────┘