Answers for "how to fetch highest score in minimum time using mysql"

SQL
0

how to fetch highest score in minimum time using mysql

SELECT gameid, 
       MIN(date) AS FirstTime, 
       MAX(date) AS LastTime,
       MAX(score) AS TOPscore.
       COUNT(*)  AS NbOfTimesPlayed 
FROM highscores
WHERE userid='2345' 
GROUP BY gameid
-- ORDER BY COUNT(*) DESC -- for ex. to have games played most at top
Posted by: Guest on July-10-2021

Code answers related to "how to fetch highest score in minimum time using mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language