Question : sql server query

I have the following query:

Select v.*
From Vendors v
Where Exists (
   Select Top 1 Null
   From Users c  
   Where v.companyId = c.companyId
   And c.username = @UserName And v.BidID = @BidI

I want to add in:

'I need to join in Contractors table using company id
'I need to join in contacts table using companyid
How would i do so?

Answer : sql server query

Select v.*
From Vendors v
inner join Contractors c on c.company_id=v.company_id
inner join contacts t on t.company_id=v.company_id
Where Exists (
   Select Top 1 Null
   From Users c  
   Where v.companyId = c.companyId
   And c.username = @UserName And v.BidID = @BidID)
Random Solutions  
 
programming4us programming4us