I'm working with a MySQL database and need to check if a row is already there before deciding which queries to run.
The table I'm working on is something like this:
player(playerid, nickname, data1, data2, data3)
Where "playerid" is an auto-incremented number and "nickname" is unique.
I tried some queries with COUNT, COALESCE, fetch->rows, etc.. and got nowhere. I already saw this question, but couldn't solve anything.