Some of you responded A,B, and C should be in 1 table. They can't be, and here is why. I only used people as an analogy. THEY AREN'T PEOPLE, they are 3 diffrent things.
A is Bonds.
B is Float to Fixed Swap
C is Float to Float Swap
D are Sinkingfunds.
AB is a single bond fixed payer swap entity (Part of a Bond tied to Part of a Swap)
Table A:
Bond1
Bond2
Table B:
FixedPayerSwap1
FixedPayerSwap2
TableAB:
Bond1FixedPayerSwap1 (Joint with Bond1 and FixedPayerSwap1)
Bond1FixedPayerSwap2 (Joint with Bond1 and FixedPayerSwap2)
Bond2FixedPayerSwap2 (Joint with Bond2 and FixedPayerSwap2)
Table C:
BasisSwap1
Table ABC:
BasisSwap1Bond1FixedPayerSwap1 (Joint with Bond1FixedPayerSwap1 and BasisSwap1)
Table D:
SinkingFund1 (Tied to Bond1)
SinkingFund2 (Tied to Bond1FixedPayerSwap1 and Bond1)
SinkingFund3 (Tied to BasisSwap1Bond1FixedPayerSwap1, Bond1FixedPayerSwap1, and Bond1)
SinkingFund3 (Tied to Bond1FixedPayerSwap2 and Bond1)
SinkingFund4 (Tied to Bond2FixedPayerSwap2 and Bond2)
I already said it before I know normalization and this database is as normalized as it can become given the requirements.
A is Bonds.
B is Float to Fixed Swap
C is Float to Float Swap
D are Sinkingfunds.
AB is a single bond fixed payer swap entity (Part of a Bond tied to Part of a Swap)
Table A:
Bond1
Bond2
Table B:
FixedPayerSwap1
FixedPayerSwap2
TableAB:
Bond1FixedPayerSwap1 (Joint with Bond1 and FixedPayerSwap1)
Bond1FixedPayerSwap2 (Joint with Bond1 and FixedPayerSwap2)
Bond2FixedPayerSwap2 (Joint with Bond2 and FixedPayerSwap2)
Table C:
BasisSwap1
Table ABC:
BasisSwap1Bond1FixedPayerSwap1 (Joint with Bond1FixedPayerSwap1 and BasisSwap1)
Table D:
SinkingFund1 (Tied to Bond1)
SinkingFund2 (Tied to Bond1FixedPayerSwap1 and Bond1)
SinkingFund3 (Tied to BasisSwap1Bond1FixedPayerSwap1, Bond1FixedPayerSwap1, and Bond1)
SinkingFund3 (Tied to Bond1FixedPayerSwap2 and Bond1)
SinkingFund4 (Tied to Bond2FixedPayerSwap2 and Bond2)
I already said it before I know normalization and this database is as normalized as it can become given the requirements.