SELECT
A.ID,
A.AccountID,
B.OrganFullName,
A.AccountType,
B.OrganShortName,
C.StageName,
A.AddTime
FROM AccountInfo A
join OrganInfo B on A.StageID=B.OrganID
left join StageInfo C on A.StageID=C.StageID
------解决方案--------------------
SELECT A.ID, A.AccountID, B.OrganFullName, A.AccountType, B.OrganShortName, C.StageName, A.AddTime , CASE WHEN AccountType='1' THEN OrganShortName WHEN AccountType='0' THEN StageName END SSS FROM AccountInfo A join OrganInfo B on A.StageID=B.OrganID left join StageInfo C on A.StageID=C.StageID