找出三月份入职的员工:
select first_name,start_date
from s_emp
where to_char(start_date,'mm') = 3
或者:select first_name,start_date
from s_emp
where to_char(start_date,'fmmm') = ‘3’
注:fm作用为去除前导零
或者:select first_name,start_date
from s_emp
where to_char(start_date,'fmmonth') = ‘march’
注:fm作用为去除前导零
或者:select first_name,start_date
from s_emp
where rtrim(to_char(start_date,'month')) = ‘3’
注:rtrim()作用为去除右边的空格
ltrim()作用为去除左边的空格