wa procedure to return the month and the no'f developers
joined in each month.

Answer Posted / narenkumar reddy

create or replace procedure
procdure_name
cursor c1 is select count(*),month from table
is
begin
for i in c1
loop
dbms_output.put_line(i.count(*)||i.month)
end loop;
end;

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between rollback and rollback to statements?

806


What is cursor and its types?

716


What is a relationship and what are they?

781


explain what is mysql? : Sql dba

787


what are all the different types of indexes? : Sql dba

717






What is sql procedures and functions?

746


can sql servers linked to other servers like oracle? : Sql dba

750


Explain normalization and what are the advantages of it?

692


What are the parameter modes supported by pl/sql?

731


Does sql profiler affect performance?

733


What is foreign key and example?

705


What does closing a cursor do?

985


What is right join in sql?

744


What is sql injection vulnerability?

667


What do you mean by stored procedures?

732