How do you select all columns from a table where the username=username and rating=rating and the value of score=MIN(score)? Im a little confused.... Any help would be appreciated.
select *, min(score) from table where username='$username' and rating=rating group by username, rating