Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ravininave
Posting Yak Master
111 Posts |
Posted - 2010-04-03 : 08:36:32
|
| I've three tables1]OfficeMastOffCode,OfficeName2]PartnersPartCode,PartName3]ClientMastClientName,OffCode,PartCodeI have To ShowClientMast.ClientName,OfficeMast.OfficeName,Partners.PartName from ClientMast...VB6/ASP.NET------------------------http://www.nehasoftec.com |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2010-04-03 : 08:41:43
|
[code]select ClientMast.ClientName, OfficeMast.OfficeName, Partners.PartName from ClientMast inner join Partners on ClientMast.PartCode = Partners.PartCode inner join OfficeMast on ClientMast.OffCode = OfficeMast.OffCode[/code] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
ravininave
Posting Yak Master
111 Posts |
Posted - 2010-04-03 : 08:51:38
|
quote: Originally posted by khtan
select ClientMast.ClientName, OfficeMast.OfficeName, Partners.PartName from ClientMast inner join Partners on ClientMast.PartCode = Partners.PartCode inner join OfficeMast on ClientMast.OffCode = OfficeMast.OffCode KH[spoiler]Time is always against us[/spoiler]
Thanx it solved my problemVB6/ASP.NET------------------------http://www.nehasoftec.com |
 |
|
|
|
|
|