我正在尝试了解以下查询:
select count(distinct Name || '' || Surname) from PEOPLE;
双条是什么意思?这个查询做了什么?
在MySQL中:
select "aaaaa" || '' || "bbbbb";
+--------------------------+
| "aaaaa" || '' || "bbbbb" |
+--------------------------+
| 0 |
+--------------------------+
答案 0 :(得分:30)
双栏是串联:
select 'hello' || ' ' || 'world' from dual;
产量
'hello world'