QUERY PLAN
Hash Right Join (cost=1.27..3.77 rows=1 width=23)
Hash Cond: (lh.edate = pss.edate)
-> Seq Scan on tbl_legal_holidays lh (cost=0.00..2.07 rows=107 width=5)
-> Hash (cost=1.26..1.26 rows=1 width=13)
-> Seq Scan on tbl_punch_strategy_schedules pss (cost=0.00..1.26 rows=1 width=13)
Filter: (need_work AND (punch_strategy_id = 35))