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

DB2 :: RE: SQL query to run through list of values in table

$
0
0
Author: Rohit Umarjikar
Posted: Thu Dec 15, 2016 11:20 am (GMT 5.5)

Did you care to look at the solutions given so far? Please try it.

All you got to do is ,replace ID by the right columns in the joins between tables.Try solution given by Arun first, modify to have it sorted per your expectations.

What should happen if there is no entry in table 2 ?
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 9405

Trending Articles