Simple SELECT query problem...

Posted by Povylas on Stack Overflow See other posts from Stack Overflow or by Povylas
Published on 2010-05-16T08:12:53Z Indexed on 2010/05/16 8:20 UTC
Read the original article Hit count: 218

Filed under:
|
|
|

Hi,
I have this MySql select query witch seams to have a bug but I am quit "green" so I simple can not see, so maybe you could help?

Here is the query:

SELECT node_id 
  FROM rate 
 WHERE node_id='".$cat_node_id_string."' 
 LIMIT ".$node_count_star.",".$node_count_end."    
 ORDER BY SUM(amount) 
 GROUP BY node_id

Thanks for help in advance...

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql