Script:
select round(variance(sal),2)as var, round(var_samp(sal),2)as vsamp, round(var_pop(sal),2)as vpop from emp
Oracle
PostgreSQL