Exercise #39 page 2 |
||
Solution 3.4.2. The same result gives solution which uses self-join:
Here is applied the join of Outcomes table with itself provided that ship is the same, but fights are different. Besides, the ship has been damaged in one of fights. As easy to see, there was no check of a battle in which the ship has been damaged for earlier date. |