Never mind, I think I got it. I just added a INTEGER PRIMARY KEY AUTO INCREMENT to the SQL database and check for that.