I am having a table name x which contain week-no where datatype of week number is varchar2 which fetches max(week-no) in 22 second. I need to fetch row with max week-no I tried this below query:
select max(to_number(week-no))
from x;
please help and suggest the query which can take less time.