Question about SQLite in Unity

Hi, I am new in working with SQLite and now I got a database in SQLite and I am writing a game that requires to compare two data in the database.
For example, player1 have 20 points and player2 have 30 point, those data are stored in the database. And I want to return player2 wins the fight as he has a higher point but I have no idea how to do it in unity…
For your information, there will have hundreds of players and picked randomly to fight and each pair of them will need to fight and who have higher points will win.
Can anyone help? Thank!

check this tutorial about sqlite and unity