## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> ATAN[ATAN]:::quoted ATAN --> End((END)) ``` ## Purpose The `ATAN` SQL function returns the angle of the provided tangent. See also [[TAN]] and [[ATAN2]]. Parameters: - Input: the tangent to get the angle of. Returns: A number which represents the angle of the provided tangent. ## Examples `ATAN` retrieves the angle of the tangent 0: ```sql select atan(0) -------- 0 ```