oracle 日常

    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

原文地址:https://www.cnblogs.com/LiuFengH/p/9781754.html