You are here: Re: top X scores for each user « MsSQL Server « IT news, forums, messages
Re: top X scores for each user

Posted by bonjella on 07/11/07 13:01

On Jul 11, 1:05 pm, Roy Harvey <roy_har...@snet.net> wrote:

> SELECT *
> FROM tbl_skill_scores as A
> WHERE skill IN
> (select TOP 4 skill
> from tbl_skill_scores as B
> where A.user_id = B.user_id
> order by B.score DESC)
>

Wonderful, that did the trick - thanks :-)

Amy

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация