|
|
I think you're really asking for trouble splitting this info up into separate tables,
since it is all account id specific. You WILL get inconsistent data at some point.
I'd suggest to just suck it
up and put all of the columns into one table, like this...
create table account (
id autoinc integer,
acctnumber varchar(50),
accttype enum (savings, checking, ...),
owner integer,
// start of account type specific columns
interestrate decimal,
exxpirationdate date,
// end of account type specific columns
primary key id
owner foreign key customers.id
);
Post a reply to this message
|
|