1、如何让列名中间含有空格
SELECT ENAME || ',' || ' ' || JOB "Employee and Title" FROM EMP;
2、按照多个关键字排列
SELECT ENAME, SAL, COMM FROM EMP ORDER BY SAL DESC,comm DESC;
3、--select 的嵌套使用
select name new_name, 49 new_age,id new_id from (select name ,id from wlbtest)