Please help me with the below scenarios.
I have 3 tables where i need to display a single record for one fileno with multiple values of same field should be displayed with delimiters by join all three tables.
OrdersTable (orderguid is Primary key ) and guids are referencing in buyer and property tables I have 2 address referring same fileno I have 2 BuyerName referring same fileno
so the o/p should be fileno address1,address2 zip state buyername,buyername
Orders Table
Orderguid (PK) fileno
8C25-00F768 100
2C25-00D695 200
Property Table
Address Zip State OrderGuid(FK)
Street no 1 122235 TX 8C25-00F768
Street no 2 122235 TX 8C25-00F768
Buyers Table
BuyerName OrderGuid (FK)
Dennis Richard 8C25-00F768
Levis Richard 8C25-00F768
output :
fileno Address Zip State BuyerName
100 Street no 1 ; Street no 2 122235 TX Dennis Richard; Levis Richard
200 null null null null