1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
select tcc.rtsta, 'W', ds.rtclas, ds.description, to_date('01/01/1994','mm/dd/yyyy'), to_date('12/31/2078','mm/dd/yyyy'), tcc.rthzgr from tmp_class_code_history tcc join tmp_dstctrtclasrtrdsc ds on tcc.rtclas=ds.rtclas order by tcc.rtclas