Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Join of more than one table

$
0
0
Author: Arun Raj
Posted: Tue Feb 14, 2017 11:58 pm (GMT 5.5)

dibyendumandal11111,

Welcome to the forums.

If these tables have large amount of data, you might not want to repeat JOINing A,B, and C in your query.
How about trying to INNER JOIN A,B, and C , LEFT JOIN with D, then work with the result set on an outer query to find Sum1 and Sum2.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard


Viewing all articles
Browse latest Browse all 8500

Trending Articles