【发布时间】:2013-03-13 13:02:26
【问题描述】:
银行数据库架构:
account (account_number, branch_name, balance)
branch (branch_name, branch_city, assets)
customer (customer_name customer_street, customer_city)
loan (loan_number, branch_name, amount)
deposito (customer_name, account_number)
borrower (customer_name, loan_number)
我怎么知道借款人的帐号????
【问题讨论】:
-
那是你的全表结构吗?你怎么知道
account_number与每个customer_name对应什么? -
表 2 是否有指向表 1 的链接,例如table2.account_number?
-
表 2 没有指向表 1 的链接。
-
银行数据库模式:account(account_number, branch_name, balance) branch (branch_name, branch_city, assets) customer (customer_name customer_street, customer_city) 贷款 (loan_number, branch_name, amount) depositor((customer_name, account_number) borrower(customer_name, loan_number) 这是原始数据库....我怎么知道借款人的 account_number ????
-
@NamanKhator 请在您的问题中添加此内容,以便您得到好的答案。为什么你第一次没有在你的问题中发布?我们怎么知道??????
标签: mysql