MySQL Forums
Forum List  »  French

Re: "Traduction"
Posted by: Gillou -
Date: December 10, 2009 11:53AM

Gloups, j'ai l'impression qu'il manque un bout de ma requête :

$classement = mysql_query("SELECT points, a.nom, (SELECT COUNT(DISTINCT b.points) FROM table AS b 
WHERE b.points >= a.points) AS 'position' FROM table AS a 
WHERE a.nom = '".$nom."' ORDER BY position ASC");



Edited 1 time(s). Last edit at 12/10/2009 11:53AM by Gillou -.

Options: ReplyQuote


Subject
Views
Written By
Posted
4498
December 10, 2009 07:58AM
2691
December 10, 2009 09:31AM
2868
December 10, 2009 11:50AM
Re: "Traduction"
2671
December 10, 2009 11:53AM
2856
December 10, 2009 01:28PM
2573
December 10, 2009 07:59PM
2704
December 11, 2009 01:47AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.