Question : select count(distinct *)

the above gives error. what will be the proper alternative for it in pl-sql?

thanks

Answer : select count(distinct *)

Not sure what you are trying to achieve

you have to specify the column name

i.e

1:
SELECT COUNT(DISTINCT(DEPT_NO) ) FROM EMP;
Random Solutions  
 
programming4us programming4us