mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
35 lines
773 B
Plaintext
35 lines
773 B
Plaintext
-- { echo }
|
|
explain syntax select negate(1), negate(-1), - -1, -(-1), (-1) in (-1);
|
|
SELECT
|
|
-(1),
|
|
-(-1),
|
|
-(-1),
|
|
-(-1),
|
|
-1 IN (-1)
|
|
explain syntax select negate(1.), negate(-1.), - -1., -(-1.), (-1.) in (-1.);
|
|
SELECT
|
|
-(1.),
|
|
-(-1.),
|
|
-(-1.),
|
|
-(-1.),
|
|
-1. IN (-1.)
|
|
explain syntax select negate(-9223372036854775808), -(-9223372036854775808), - -9223372036854775808;
|
|
SELECT
|
|
-(-9223372036854775808),
|
|
-(-9223372036854775808),
|
|
-(-9223372036854775808)
|
|
explain syntax select negate(0), negate(-0), - -0, -(-0), (-0) in (-0);
|
|
SELECT
|
|
-(0),
|
|
-(0),
|
|
-(0),
|
|
-(0),
|
|
0 IN (0)
|
|
explain syntax select negate(0.), negate(-0.), - -0., -(-0.), (-0.) in (-0.);
|
|
SELECT
|
|
-(0.),
|
|
-(-0.),
|
|
-(-0.),
|
|
-(-0.),
|
|
-0. IN (-0.)
|