QUERY PLAN
Unique (cost=2.82..2.83 rows=1 width=4)
-> Sort (cost=2.82..2.82 rows=1 width=4)
Sort Key: s.created_by
-> Hash Join (cost=1.39..2.81 rows=1 width=4)
Hash Cond: (s.id = ccr.punch_travel_id)
-> Seq Scan on tbl_punch_travels s (cost=0.00..1.30 rows=30 width=8)
-> Hash (cost=1.38..1.38 rows=1 width=4)
-> Seq Scan on tbl_punch_travel_verify_rels ccr (cost=0.00..1.38 rows=1 width=4)
Filter: (user_id = 1000)