1

Database Diagram

I'm trying to create master Info table that has all his fields additionally to other 3 tables. so, the master info table has many phone number, many encoder numbers and many control room numbers. therefore, I have made them in this way but I'm not sure that what if i need to do the opposite, like put the statin_No in each table? instead of putting each table primary key in the masterInfoTable like, putting Audio_keyNo in MasterInfoTable?

the masterInfo table contains( Station_No, Encoder_make, Encoder_Model, Audio_keyNo, ControlRoom_keyNo, and Encoder_KeyNo) the AudioTable has( Audio_KeyNO, Audio_No) The ControlRoom table and Encoder table have the keyno and control room or encoder no. any thing end with KeyNO is a primary Key.

4

1 に答える 1

1

メイン ステーション テーブルと、エンコーダー、電話、コントロール ルーム用の他の 3 つのテーブルを作成する必要があります。これら 3 つのテーブルを、お持ちのメイン テーブルに接続します。したがって、メイン テーブルには、3 つのテーブルの主キーと 3 つの外部キーがあります。これは、問題の説明から私が考えることができる最高のものです。さらに質問があればお知らせください。

于 2012-12-19T15:10:58.420 に答える