SELECT ZIDUAN1||ZIDUAN2 AS ZIDUAN FROM TABLE(合并) SELECT ZIDUAN1||'AND'||ZIDUAN2 AS ZIDUAN FROM TABLE
Oracle的CONCAT()只允许两个参数;换言之,一次只能将两个字串串连起来。不过,在Oracle中,我们可以用'||'来一次串连多个字串。
Powered by: 博客园 Copyright © 2024 codingsilence Powered by .NET 9.0 on Kubernetes