Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special INNER JOIN clause required
Message
From
14/03/2009 13:16:33
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01387986
Message ID:
01388074
Views:
28
As a revised version, in order to collect fields from the joined table, I an now using this:
seLECT Member.FirstName ,Member.LastName,Friend.ModDate,Friend.Approve
	FROM Member 
	INNER JOIN Friend ON
	(Friend.NoMember = Member.Numero AND Friend.NoMember2=1) OR 
	(Friend.NoMember = 1 AND Friend.NoMember2=Member.Numero)
WHERE Member.Numero<>1
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform