QUERY PLAN
Unique (cost=2.18..2.19 rows=1 width=4)
-> Sort (cost=2.18..2.19 rows=1 width=4)
Sort Key: s.created_by
-> Hash Join (cost=1.02..2.17 rows=1 width=4)
Hash Cond: (s.id = ccr.punch_overtime_id)
-> Seq Scan on tbl_punch_overtimes s (cost=0.00..1.10 rows=10 width=8)
-> Hash (cost=1.01..1.01 rows=1 width=4)
-> Seq Scan on tbl_punch_overtime_verify_rels ccr (cost=0.00..1.01 rows=1 width=4)
Filter: (user_id = 1011)