oracle 合并函数(转)
怎么合并多行记录的字符串,一直是oracle新手喜欢问的SQL问题之一,关于这个问题的帖子我看过不下30个了,现在就对这个问题,进行一个总结。 什么是合并多行字符串(连接字符串)呢,例如:SQL>&nb...
decode函数
SQL> create table sales 2 (no number(20), 3 no2 number(20), 4 num number(6,2), 5 rq date);表已创建。SQL> insert into sales values(1234,567890,33.5,'20...
统计字符A到Z的全部字段(转)
网上的题目,别的老师做出来,自己摘下来,参考一下。SQL> select * from tt;ID--------------------abc张addA张addB张addZ张addz张add1张add21张addSQL> select * from tt where id>='A' and id <'a';ID-------...
decode函数和substr函数习题
此题也是itpub上出的题,总结一下。第三题-----------------------------------------------------------------------Create table Employee( empID number,  ...
学会了一个decode函数
这是itpub别人问的问题,我学会了,就留个痕迹!题目:Create table Table_A( UserType varchar2(50), LoginDate varchar2(50), &n...
要学习linux了
最近几天忙的很,没有去听eagle的oracle课程,很是可惜,可能今后这样的培训会很多吧,但是还是有点…… ...