Exercise #55 (tips and solutions) |
||
The next solution is correctly (but excessively) takes into account ships from Outcomes table.
The only mistake of this solution occures in case when there is a class without ships in current state of DB. Remark that such situation is possible, because tables Classes and Ships connected by one-to-many relationships. To return to discussion of exercise #55 To solve a problem on SQL-EX.RU |