Joined
Last Seen
-5 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
20% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
0 Endorsements
Ranked #107.71K
1 Posted Topic
[QUOTE=pedpina;753627]Yes! For sure this is a better way to do that I put this in a generic way: [code=sql]select Q.* from Table1 T, (select Table2_ID, Table1_ID, value from Table2 ) Q where T.Table1_ID = Q.Table1_ID and Q.Table2_ID in (select top 5 top5.Table2_ID from Table2 top5 where top5.Table1_ID = Q.Table1_ID order …
The End.
jaysapidocs