hi guys, I'm new in sqlalchemy and I need some help.

I want make a simple aggregation query for a game chart, so, I need
max score for a player, player name and row number (for chart
position)


this is the query in t-sql (mssql):

select row_number() over (order by max(score) desc), max(score), id,
player_name
from mychart
group by id, player_name

how can I do that in sqlalchemy?

thank you

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to