diff options
Diffstat (limited to 'sql/dawn.sql')
| -rw-r--r-- | sql/dawn.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/dawn.sql b/sql/dawn.sql index e234bdd8..927b4763 100644 --- a/sql/dawn.sql +++ b/sql/dawn.sql @@ -854,7 +854,7 @@ AS SELECT bonds.dealid, bonds.price, bonds.accrued, bonds.folder, - bond.portfolio, + bonds.portfolio, bonds.principal_payment * bond_allocation.notional / sum(bond_allocation.notional) OVER w AS principal_payment, bonds.accrued_payment * bond_allocation.notional / sum(bond_allocation.notional) OVER w AS accrued_payment, (bonds.principal_payment + bonds.accrued_payment) * bond_allocation.notional / sum(bond_allocation.notional) OVER w AS net_amount, |
