| Unique (cost=12.35..12.35 rows=1 width=4) |
| -> Sort (cost=12.35..12.35 rows=1 width=4) |
| Sort Key: s.created_by |
| -> Nested Loop (cost=0.14..12.34 rows=1 width=4) |
| -> Seq Scan on tbl_punch_leave_verify_rels ccr (cost=0.00..4.08 rows=1 width=4) |
| Filter: (user_id = 5064) |
| -> Index Scan using tbl_punch_leaves_pkey on tbl_punch_leaves s (cost=0.14..8.16 rows=1 width=8) |
| Index Cond: (id = ccr.punch_leave_id) |