Query and Report layout issue [message #465272] |
Tue, 13 July 2010 06:16 |
lakshmi83
Messages: 12 Registered: August 2008 Location: Hyderabad
|
Junior Member |
|
|
Hello All,
In one of the report requirements we have to link 2 tables and if data is not available in one of the table in the report output the other column data should be displayed.
Example:
We have 2 tables shipment,order_release.Even shipment is not existing for this order_release in the output the order_release alone need to be displayed.
select shipment_id,order_release_id
from shipment s,order_release orl,link_table lt
where s.shipment_id=lt.shipment_gid
and orl.order_release_id=lt.order_release_id
Output: shipment_id order_release
....... 12374
....... 83460
23459 ......
34785 43987
Can any one help in achieving this?
Thanks in Advance.
Regards,
Lakshmi.
|
|
|
|
|
|
|