Division (/)
Syntax
number_1 / number_2
Description
Divides the number number_1
by the number number_2
.
Argument types:
number_1
—Fractional number | Integer
number_2
—Fractional number | Integer
Return type: Fractional number
Examples
4 / 2 = 2.0
5 / 2 = 2.5
5.0 / 2 = 2.5
5 / 2.0 = 2.5
Data source support
ClickHouse 21.8
, Yandex Metrica
, Microsoft SQL Server 2017 (14.0)
, MySQL 5.7
, Oracle Database 12c (12.1)
, PostgreSQL 9.3
, YDB
.