mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 09:50:40 +00:00
37 lines
559 B
Plaintext
37 lines
559 B
Plaintext
select 1;
|
|
|
|
+----------+
|
|
| Int64(1) |
|
|
+----------+
|
|
| 1 |
|
|
+----------+
|
|
|
|
select 2 + 3;
|
|
|
|
+---------------------+
|
|
| Int64(2) + Int64(3) |
|
|
+---------------------+
|
|
| 5 |
|
|
+---------------------+
|
|
|
|
select 4 + 0.5;
|
|
|
|
+-------------------------+
|
|
| Int64(4) + Float64(0.5) |
|
|
+-------------------------+
|
|
| 4.5 |
|
|
+-------------------------+
|
|
|
|
select "a";
|
|
|
|
Error: 3000(PlanQuery), No field named 'a'.
|
|
|
|
select "A";
|
|
|
|
Error: 3000(PlanQuery), No field named 'A'.
|
|
|
|
select * where "a" = "A";
|
|
|
|
Error: 3000(PlanQuery), No field named 'a'.
|
|
|