select distinct cname, T.loan#from borrower as S, loan as T
where S.loan# = T.loan#
Note: The keyword as is optional here.
Finds the names of all branches that have assets greater than at least one branch located in Burnaby.
select distinct T.bnamefrom branch S, branch T
where S.bcity=``Burnaby'' and T.assets > S.assets