QUERY PLAN
Unique (cost=2.04..2.05 rows=1 width=4)
-> Sort (cost=2.04..2.05 rows=1 width=4)
Sort Key: s.created_by
-> Nested Loop (cost=0.00..2.04 rows=1 width=4)
Join Filter: (s.id = ccr.punch_overtime_id)
-> Seq Scan on tbl_punch_overtimes s (cost=0.00..1.01 rows=1 width=8)
-> Seq Scan on tbl_punch_overtime_verify_rels ccr (cost=0.00..1.01 rows=1 width=4)
Filter: (user_id = 1001)