摘要:
行转列--经典面试题一create table test(id number(10) primary key,type number(10) ,t_id number(10),value varchar2(6)); insert into test values(100,1,1,'张三');inse 阅读全文
摘要:
--1、使用基本查询语句.--(1)查询DEPT表显示所有部门select dname from dept;--(2)查询EMP表显示所有雇员名及其全年收入(月收入=工资+补助),处理NULL行,并指定列别名为"年收入"(NVL(comm,0) comm取空值时用0替代)select ename,( 阅读全文