请任何人都可以帮助将以下两个 SQL 语句转换为关系代数
1)
SELECT D.Dname
FROM Employee E, Department D
WHERE E.Dno = D.Dno
AND E.Lname='Smith'
AND S.Fname='John'
2)
SELECT B.Town
FROM Staff S, Branch B
WHERE S.BranchId = B.BranchId
AND S.lName='Pincher'
AND S.fName='Penny'