我需要创建一个包含BSB#,客户#,客户名称和帐户#,类型,帐户余额的视图。 我尝试了这个选择语句:
select customer.bsb#, customer.customer#, customer.name, account.account#, account.type, account.balance
from customer
left outer join account on customer.bsb# = account.bsb#
and customer.customer# = account.customer#;