ReferenceSQL language referenceFunctionsBuilt-in functionsAlphabetical list of built-in functionscot functionOn this pagecot function Applies to: Databricks SQL Databricks Runtime Returns the cotangent of expr. Syntax cot(expr) Arguments expr: An expression that evaluates to a numeric. Returns A DOUBLE. Examples SQL> SELECT cot(1); 0.6420926159343306 Related functions cos function cosh function tan function tanh function