我有这个sql语句只能检索一行,但是我不确定该怎么做。
select pav_employee,pav_name,pas_paycode,
pas_amount,pav_paynettamt
from m_advhdr,m_payshthdr,m_payshtline
where pav_payno='161'
and pav_employee IS NOT NULL
and pah_employee=pav_employee
and pas_magic=pah_magic
and pav_payno=pah_payno
查询返回以下结果:
K00018|AIDEN|B100|5890.51|6573.31|
K00018|AIDEN|D017|1.0|6573.31|
K00018|AIDEN|D400|2.0|6573.31|
但是我希望它仅显示在一行K00018|AIDEN|B100|5890.51|D017|1.0|D400|2.0|6573.31|
如何更改代码?