I have the following query on the Oracle database
SELECT * FROM ( SELECT to_char(to_date(t2.REGISTRATION_DATE,\'yyyy/mm/dd\'),\'yyyy/mm/dd\',\'nls_calendar=persi