我有两个疑问:
1)
SELECT a.n
FROM account a, contract c
WHERE c.n = a.r$contract
AND c.n IN (
SELECT account.n
FROM account, contract
WHERE contract.n = account.r$contract
AND account.n = contract.n )
ORDER BY a.n
和
2)
SELECT account.n
FROM account, contract
WHERE contract.n = account.r$contract
AND account.n = contract.n
在 1 中有 47 行,但在 2 - 15 中。我不明白为什么