この PSQL でコンパイル エラーが発生する理由を教えてください。
set serveroutput on
Create or replace function get_warehouse_location(Name in Customer.Name%type)
return w.location %type as
wLocation warehouse.Location %type;
begin
select warehouse.location
into wLocation
from Customer c, Warehouse w
where cName= 'Finch'
and warehouse.address=' ';
return (Location);
end;