added ability for SQL view to 'find rest' (which is actually crucial!)