QUERY PLAN
Sort (cost=244.24..252.40 rows=3264 width=8)
Sort Key: user_id, sales_id
-> Seq Scan on tbl_user_resource_relationships (cost=0.00..53.75 rows=3264 width=8)
Filter: (sales_id IS NOT NULL)