select positionChild,(select Remark from Freqs a join Contents b on a.ID=b.senior where b.ID=c.id) as senior,
(select Remark from Freqs a join Contents b on a.ID=b.middle where b.ID=c.id ) as middle,
(select Remark from Freqs a join Contents b on a.ID=b.general where b.ID=c.id ) as general
from Contents c
时间: 2024-10-10 15:28:46