Is there a way to limit a selection like with LIMIT, but instead of returning the limitation with an offset, limit with a "spread".
So for instance if a select returns 1000 rows and I limit it to 100, then I get every 10th row from start to end.
I know this would require the full SELECT to be performed since the RDBMS would need to go through all rows to do so. But instead of, for instance, returning 100000 rows when I need every 100th row, there would be a lot less transfer and the work could be done at the RDBMS.
I am requiring this on a PostgreSQL DB.