假定每个no都有3种状态
SELECT a.no, a.num, b.num, c.num
FROM (SELECT no,num FROM mytable WHERE status = '01') A,
(SELECT no,num FROM mytable WHERE status = '02') B,
(SELECT no,num FROM mytable WHERE status = '03') C,
WHERE a.no = b.no
AND a.no = c.no;
select a.Num as aNum,b.Num as bNum,c.Num as cNum
from table a,table b,table c
where a.state = '01' and b.state = '02' and c.state = '03'
and a.no = b.no and a.no = c.no;