select * from (select t.row_id, t.supplier_name, t.tel, address, t.contact, t.contact_post, t.contact_mobi, t.contact_tel, case then to_number(nvl(t.discount_rate, )) then to_number(nvl(t.discount_rate2, )) then to_number(nvl(t.discount_rate3, )) the