摘要:
1、数据库A表和B表的结构是一样的,怎么把A中的数据全部复制到B重,而且要去重复. ** 去除重复:select * from a minus select * from b; ** 插入:insert into b (select * from a minus select * from b); 阅读全文
摘要:
decode的几种用法1:使用decode判断字符串是否一样DECODE(value,if1,then1,if2,then2,if3,then3,...,else) 含义为 IF 条件=值1 THEN RETURN(value 1) ELSIF 条件=值2 THEN RETURN(value 2) 阅读全文