当前位置:Gxlcms > 数据库问题 > calculate fraction by oracle

calculate fraction by oracle

时间:2021-07-01 10:21:17 帮助过:3人阅读

QUESTION:When you meet calculate fraction in oracle

SOLUTION:

1.Check out their values respectively. the use sign of division.

select  count(1) from emp where empno=7369;

select count(1) from emp ;

2.Fusion use  a command by dual table.

select  (select count(1) from emp where empno=7369)/(select count(1) from emp)  from dual;

 

 

calculate fraction by oracle

标签:solution   acl   check   out   cti   style   value   strong   from   

人气教程排行