你说你看不懂openGauss我都不信(65)

16 阅读1分钟

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/

  • «

    描述:二进制左移

    示例:

    sql 代码解读复制代码openGauss=# SELECT 1<<4 AS RESULT;
     result 
    --------
         16
    (1 row)
    
  • >>

    描述:二进制右移

    示例:

    sql 代码解读复制代码openGauss=# SELECT 8>>2 AS RESULT;
     result 
    --------
          2
    (1 row)
    

#openGauss #入门 #安装 #数据库 #开源

知识来源:docs-opengauss.osinfra.cn/zh/