Use "<", ">" and "AND" after the "WHERE" to filter your return. This works only if your testID is Serialized (ie 1,2,3). If they are uniqueID's, another field must be used in it's place....
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных