私は以下のようなテーブルを持っています:
create table testjob
(
jobid int,
jobname varchar(100),
time float,
name varchar(50)
)
insert into testjob values ( 1001,'java work',4.5,'arjun')
insert into testjob values ( 1005,'sql work',10,'arjun')
insert into testjob values ( 1010,'.net work',7.5,'arjun')
insert into testjob values ( 1040,'java work',5.5,'ravi')
insert into testjob values ( 1023,'php work',2.5,'arjun')
insert into testjob values ( 1027,'.net work',3.5,'ravi')
以下のようなhtml形式で以下のように出力するような手順が必要です。
Name: Arjun (24.5 Hrs spent)
jobname Time
java work 4.5
sql work 10
.net work 7.5
php work 2.5
Name: Ravi(9 Hrs spent)
jobname time
java work 5.5
.net work 3.5