One B can have only one A, but one A can be appeared in B up to 3 only.
Suppose I have the following code to create new tables:
create table A (
A_id number constraint Aid_pk primary key);
create table B (
B_id number constraint Bid_pk primary key,
A_id number constraint ref_fk references A(A_id));
This is the standard one-to-many relationship, how can I change it to limit the max number of references?