Nguyễn Tâm Hảo
New member
Create function dept count(dept_name varchar(20))
begin
declare d count integer;
select count(*) into d count
from instructor
where instructor.dept_name= dept_name
return d count;
end
Find the error in the the above statement.
A. Return type missing
B. Dept_name is mismatched
C. Reference relation is not mentioned
D. All of the mentioned
begin
declare d count integer;
select count(*) into d count
from instructor
where instructor.dept_name= dept_name
return d count;
end
Find the error in the the above statement.
A. Return type missing
B. Dept_name is mismatched
C. Reference relation is not mentioned
D. All of the mentioned