This is the table (achievements_t):
id Primary int(11) AUTO_INCREMENT
timestamp current_timestamp()
user_id varchar(34)
level varchar(40)
score int(11)
replay mediumblob
Now for each level and a certain user_id, I would like two numbers, one the placement, two total entries.
"LevelX you are in place 12 of 54"
How can I achieve that?