I'm using a tool that generates the Postgresql query below:
SELECT
"id",
"score"
FROM
"players"
WHERE
"score" > '11266' OR ( "score" = '11266' AND "id" > '4482' )
ORDER BY
"score" ASC,
"id" ASC
LIMIT 3
I need to understand why the OR operator?
My players table can have many rows with the same score but not the same id.
Is that OR needed when multiple rows has the same score value?