Common sql. Common table expressions sql. рекурсивные cte исследование. decimal mysql пример. mysql percona.