SELECT * FROM agent ORDER BY time_created DESC LIMIT 50 OFFSET $1;