Need help in building SQL Query.
Hi Team,
Can you please help in below query, Need to show data incase if no data available in these two tables ("LPN" "LPN", "LPN_DETAIL" "LPN_DETAIL")
I have tried using Outer Joins but Couldn't get result.
########################################
select lpn1.TC_ASN_ID ASN, lpn1.STATUS,lpn1.BUSINESS_PARTNER_ID,
lpn1.ACTUAL_SHIPPED_DTTM,lpn1.ITEM_NAME ,lpn1.DESCRIPTION, lpn1.PUTWY_TYPE, lpn1.TC_PURCHASE_ORDERS_ID, lpn1.Expiration,lpn1.MCQ IP,lpn1.Tier_Per_Pallet,lpn1.ITEM_NAME ,lpn1.Cases_Shipped,lpn1.Received
, lpn1.TC_LPN_ID LPN,lpn1.SIZE_VALUE,
CASE
WHEN "MIX"."TC_LPN_ID" is not null