oracle             sql server 

   select  1 from dual  和         select 1

     nvl(null,0)     为空显示 0 

     greatest (1, 3, 2 )      比较显示最大的

   round(1.234,2)  保留两位四舍五入

row_number() over (order by  id) rowno 序列号

wm_concat 列转单元格 ,隔开

to_char ()   转字符串

 dense_rank() over(order by t.lading_no)     加序号按组

 

select * from tableName where instr( 'helloworld,liu',name)>0   = >   select * from tableName where name in ( 'heelowrold','name')

select SYSDATE,SYS_GUID() from dual

posted on 2018-10-13 09:54  Aaron_Net  阅读(120)  评论(0)    收藏  举报