Jump to content

Sql Query Doubt


Recommended Posts

Posted

wAts the query fOr Finding no of employees joined in year 2005 from emp table.

Posted

SELECT to_date(EMP_JN_DT,'MON') "Month", EMP_NO "Employees"

FROM EMP_REG
WHERE EMP_JN_DT between date '2009-01-01' AND date '2009-12-31'
GROUP by "Month"
ORDER BY 1;

Posted

select Employee Name, Join date from EMP table

where year(join date) = '2005'

Posted
select count(empid)
from employees
where year(empstartdate) = 2005

please dont forget to like and share.. lol PK-3.gif

×
×
  • Create New...