SELECT *
FROM GD_MST_PAY_PLAN
WHERE gd_mst_pay_seq = :gd_mst_pay_seq
ORDER BY day_idx ASC