Apache Presto - 字串運算子



字串運算子“||”執行連線。

查詢

presto:default> select 'tutorials' || 'point' as string_concat;

結果

 string_concat 
---------------- 
 tutorialspoint

在此處,輸出將作為兩個給定字串的連線進行。

apache_presto_basic_sql_operations.htm
廣告
© . All rights reserved.