SHOW FUNCTIONS
現在サポートされている組み込みのスカラー関数および集計関数を一覧表示します。
関連情報: system.functions
構文
SHOW FUNCTIONS [LIKE '<pattern>' | WHERE <expr>] | [LIMIT <limit>]
例
SHOW FUNCTIONS;
+-------------------------+--------------+---------------------------+
| name | is_aggregate | description |
+-------------------------+--------------+---------------------------+
| != | 0 | |
| % | 0 | |
| * | 0 | |
| + | 0 | |
| - | 0 | |
| / | 0 | |
| < | 0 | |
| <= | 0 | |
| <> | 0 | |
| = | 0 | |
+-------------------------+--------------+---------------------------+
"today" で始まる関数を表示します。
SHOW FUNCTIONS LIKE 'today%';
+--------------+--------------+-------------+
| name | is_aggregate | description |
+--------------+--------------+-------------+
| today | 0 | |
| todayofmonth | 0 | |
| todayofweek | 0 | |
| todayofyear | 0 | |
+--------------+--------------+-------------+
WHERE を使用して "today" で始まる関数を表示します。
SHOW FUNCTIONS WHERE name LIKE 'today%';
+--------------+--------------+-------------+
| name | is_aggregate | description |
+--------------+--------------+-------------+
| today | 0 | |
| todayofmonth | 0 | |
| todayofweek | 0 | |
| todayofyear | 0 | |
+--------------+--------------+-------------+