How to extract week number in sql

后端 未结 4 1355
难免孤独
难免孤独 2020-11-29 05:40

I have a transdate column of varchar2 type which has the following entrees

01/02/2012
01/03/2012

etc.

I converted it in to date fo

4条回答
  •  青春惊慌失措
    2020-11-29 06:37

    Select last_name, round (sysdate-hire_date)/7,0) as tuner 
      from employees
      Where department_id = 90 
      order by last_name;
    

提交回复
热议问题