aywars Posted July 17, 2009 Report Share Posted July 17, 2009 Sveiki! Ir MySQL tabula, kurā uzskaitīti punkti, uzvaras, zaudējumi pagarinājumā un zaudējumi. Komandas tiek sortētas pēc punktiem: SELECT * FROM table ORDER BY points DESC Man vajag panākt, lai, ja punktu skaits ir vienāds, komandas sortētos pēc uzvaru skaita.. Mēģināju kaut kā tā: SELECT * FROM table ORDER BY points, wins DESC Diemžēl nestrāda.. Palīdziet, lūdzu, biedri! Paldies! Quote Link to comment Share on other sites More sharing options...
Val Posted July 17, 2009 Report Share Posted July 17, 2009 ORDER BY points DESC, wins DESC Quote Link to comment Share on other sites More sharing options...
aywars Posted July 17, 2009 Author Report Share Posted July 17, 2009 Super. Paldies liels, viss strādā! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.