Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
create or replace function get_runnames (dt_in date) return varchar2 is
hold_names varchar2(100);
begin
for x in (select runname from neskin where dt = dt_in) loop
hold_names := hold_names||’ ‘||x.runname;
end loop;
return trim(hold_names);
end;
/
Function created.
col runname format a7
col dt heading "Date" format a8
select distinct to_char(dt,'mm/dd/yy') dt
,get_runnames(dt) runname
from neskin
order by dt;
Date RUNNAME
-------- -------
01/01/05 09R 27L
02/01/05 09L 28R