QUERY PLAN
Sort (cost=128.34..132.94 rows=1841 width=8)
Sort Key: user_id, sales_id
-> Seq Scan on tbl_user_resource_relationships (cost=0.00..28.50 rows=1841 width=8)
Filter: (sales_id IS NOT NULL)