Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
160 Points
434 Posts
Apr 23, 2012 12:10 PM|LINK
Hi,
My sample data of the four tables
Table1: tbl_Partnerhirerege
seskey(PK) userdid(FK) companyname shortname
12 14 YAHOO YAH
13 15 CISCO CIS
Table2: tbl_PurchaseOrder
seskey(PK) userdid(FK) quotaion_id pono poamount
1 12 40 cis001 120
2 12 40 YAH001 100
Table3: tbl_quotation
seskey(PK) userdid(FK) quotaion_id rate
1 12 40 1000
2 12 40 1200
Table4: tbl_quotation_master
seskey(PK) userdid(FK) quotation_date
40 12 04/23/2012
41 13 04/22/2012
My expected result from four tables
Companyname QuotationID Purchaseno Purchaseamount Upload Upload_Filename
YAHOO YAH04231240 YAH001 100 <BYTE> PROFILE
CISCI CIS04221241 CIS001 100 <BYTE> PROFILE
vsp.santu
Member
160 Points
434 Posts
Re: join sp problem
Apr 23, 2012 12:10 PM|LINK
Hi,
My sample data of the four tables
Table1: tbl_Partnerhirerege
seskey(PK) userdid(FK) companyname shortname
12 14 YAHOO YAH
13 15 CISCO CIS
Table2: tbl_PurchaseOrder
seskey(PK) userdid(FK) quotaion_id pono poamount
1 12 40 cis001 120
2 12 40 YAH001 100
Table3: tbl_quotation
seskey(PK) userdid(FK) quotaion_id rate
1 12 40 1000
2 12 40 1200
Table4: tbl_quotation_master
seskey(PK) userdid(FK) quotation_date
40 12 04/23/2012
41 13 04/22/2012
My expected result from four tables
Companyname QuotationID Purchaseno Purchaseamount Upload Upload_Filename
YAHOO YAH04231240 YAH001 100 <BYTE> PROFILE
CISCI CIS04221241 CIS001 100 <BYTE> PROFILE