Jump to content

Most played PlayLists with Active SQL


dabri

Recommended Posts

Posted

Haven't tested, but should be something like

SELECT * FROM Games JOIN GamesStats ON Games.GameID=GamesStats.GameID AND Visible=1 ORDER BY GamesStats.TimePlayedSecs DESC LIMIT 25

or

SELECT * FROM Games JOIN GamesStats ON Games.GameID=GamesStats.GameID AND Visible=1 ORDER BY GamesStats.NumberPlays DESC LIMIT 25

 

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...