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.

 All Forums
 Development Tools
 ASP.NET
 selection of only one row curresponding to foreign key.

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-10-19 : 07:44:58
Aneesh writes "want to join three tables.
that is ok.
but in dataset there is more values curresponding to foreign key.
I want the first one . why?
eg.
1. aneesh. photo1
1. aneesh. photo2
2. bejoy. photo1
2. bejoy. photo2
1. aneesh. photo3
.....................
MY RESULT should be
1. aneesh. photo1
2. bejoy. photo1"
   

- Advertisement -