QUERY PLAN
Sort (cost=226.56..234.18 rows=3048 width=8)
Sort Key: user_id, sales_id
-> Seq Scan on tbl_user_resource_relationships (cost=0.00..50.18 rows=3048 width=8)
Filter: (sales_id IS NOT NULL)