sql - Find minimum value of a table -


i'm looking statement find user minimum value of special field. mean this

select id, username, joindate, min(score)  table1 

actually i'm looking way find user lowest score.

to find user lowest score, can simpy sort table , take first record:

select top 1 id, username, joindate, score table1 order score 

Comments

Popular posts from this blog

java - Callback from new thread to class from which thread was initiated -

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -