Modify given TABLE statement as follows. If the relation has one or more keys then modify the
Question:
Modify given TABLE statement as follows.
If the relation has one or more keys then modify the CREATE TABLE statement to declare one PRIMARY KEY and to declare all other keys as NOT NULL.
For each referential integrity constraint that should hold in your schema, specify the constraint
using a REFERENCES clause within the appropriate CREATE TABLE statement.
You may use the default option for handling referential integrity violations (violations will generate an error). We expect that everyone's PDA should include at least one referential
integrity constraint. Add at least two attribute-based CHECK constraints to relations of your database schema.
Financial Accounting Tools for Business Decision Making
ISBN: 978-1119368458
7th Canadian edition
Authors: Paul D. Kimmel, Jerry J. Weygandt, Donald E. Kieso, Barbara Trenholm, Wayne Irvine