SELECT
netting_cp_installment_options.*,
netting_cp_installment_option_descriptions.name,
netting_cp_installment_option_descriptions.short_description,
netting_cp_installment_option_descriptions.description,
netting_cp_installment_option_descriptions.lang_code
FROM
netting_cp_installment_options
LEFT JOIN netting_cp_installment_option_descriptions ON netting_cp_installment_option_descriptions.installment_option_id = netting_cp_installment_options.installment_option_id
AND netting_cp_installment_option_descriptions.lang_code = 'en'
WHERE
1
AND netting_cp_installment_options.status = 'A'
ORDER BY
netting_cp_installment_options.position asc,
netting_cp_installment_options.installment_option_id desc