## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> LOG[LOG]:::quoted LOG --> End((END)) ``` ## Purpose The `LOG` SQL function gets the natural logarithm of a number in a specified base. Parameters: - Input: a number to get the natural logarithm from. - Base `[optional]`: the base to get the natural logarithm from. Returns: the natural logarithm of the input in the specified base.