Jump to content

executeSQLSelect doubt


Recommended Posts

Posted

Hey everyone ;)

Is it possible, using executeSQLSelect, to get a selection ordered by points column ASC or DESC? I want to get top 10 players with most points

table executeSQLSelect ( string tableName, string fields, [ string conditions ], [ int limit ] )

Looking at the syntax i guess it isn't but doens't makes sense :/ order is also a selection field.

If it isn't possible is there any easy way to do this instead of selecting all players and then see the ones with more points?

Posted

I'm not sure if you can put that query part "ORDER BY x DESC" in one of the parameters, (I actually think not..) but if you use 1.0 you can just use executeSQLQuery..

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...