Leudassdf Posted June 12, 2012 at 04:18 PM Report #462296 Posted June 12, 2012 at 04:18 PM Boas pessoal! Como posso filtrar as 10 pessoas com mais pontos? sei que e com o order by mas como e que eu digo que so quero os 10 primeiros? em sql claro. Agradeço toda a ajuda possivel
Rechousa Posted June 12, 2012 at 04:22 PM Report #462298 Posted June 12, 2012 at 04:22 PM Olá, Isto deve funcionar: SELECT TOP 10 * FROM pessoas ORDER BY Pontos DESC Pedro Martins Sharing is Knowledge! http://www.linkedin.com/in/rechousa
Leudassdf Posted June 12, 2012 at 04:26 PM Author Report #462302 Posted June 12, 2012 at 04:26 PM Olá, Isto deve funcionar: SELECT TOP 10 * FROM pessoas ORDER BY Pontos DESC Muito obrigada. Funciona perfeitamente. so me faltava o top. Muito obrigada mais uma vez!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now