QUERY PLAN
Aggregate (cost=13.79..13.80 rows=1 width=8)
-> Sort (cost=13.04..13.16 rows=50 width=756)
Sort Key: s.is_stop, s.sort, s.is_delete, s.created_at DESC
-> HashAggregate (cost=11.12..11.62 rows=50 width=756)
Group Key: s.id
-> Seq Scan on tbl_services s (cost=0.00..11.00 rows=50 width=18)
Filter: (NOT is_delete)