loading..
Русский    English
18:56

Exercise #30 (tips and solutions)

To solve a problem of doubling, trebling of results, it is enough to execute corresponding grouping over each table beforehand, and already then to do joining them. Then this exercise reduces to a exercise 29, the solution of which did not cause issues and consequently is not included in the book.

It not a unique way to solve a problem. Visit a forum of the site to meet other approaches to solution.

To return to discussion of exercise #30

To solve a problem on SQL-EX.RU

Bookmark and Share
Tags
aggregate functions Airport ALL AND AS keyword ASCII AVG Battles Bezhaev Bismarck C.J.Date calculated columns Cartesian product CASE cast CHAR CHARINDEX Chebykin check constraint classes COALESCE common table expressions comparison predicates Computer firm CONSTRAINT CONVERT correlated subqueries COUNT CROSS APPLY CTE data type conversion data types database schema DATEADD DATEDIFF DATENAME DATEPART DATETIME date_time functions DDL DEFAULT DEFAULT VALUES DELETE DISTINCT DML duplicates edge equi-join EXCEPT exercise (-2) More tags
The book was updated
month ago
©SQL-EX,2008 [Evolution] [Feedback] [About] [Links] [Team]
All right reserved.