I have a table with a date field. By default, select max(date) from table; returns the date in \'dd-mmm-yy\' format. How do I select the date in \'MM/DD/YYYY\'
select max(date) from table;
select to_char(max(date), 'MM/DD/YYYY') from table;