You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Steve Yurong Su (Jira)" <ji...@apache.org> on 2020/11/23 12:37:00 UTC

[jira] [Created] (IOTDB-1022) Arithmetic Operations In SELECT Clauses

Steve Yurong Su created IOTDB-1022:
--------------------------------------

             Summary: Arithmetic Operations In SELECT Clauses
                 Key: IOTDB-1022
                 URL: https://issues.apache.org/jira/browse/IOTDB-1022
             Project: Apache IoTDB
          Issue Type: Sub-task
          Components: Core/Engine
            Reporter: Steve Yurong Su


h1. Some Examples

SELECT -a FROM root.sg.d;

SELECT a, b, c, b * b - 4 * a * c FROM root.sg.d WHERE b > 0;

SELECT a, b, -(bool_value * (a - b)) FROM root.sg.d;

SELECT -3.14 + a / 15 + 926 FROM root.sg.d;

SELECT +a % 3.14 FROM root.sg.d WHERE a < 0;

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)