Write a query to find the name of employees those who have
joined on Monday.(based on column hire_date)

Answer Posted / mahendar reddy

SELECT ENAME FROM EMP WHERE TO_CHAR(TO_DATE(HIREDATE),'D')='2';

IT fetch the employee name who joined on monday
Here
1=sunday
2=monday
--
---
--
--
--etc

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create an index in word?

540


How to add a column ‘salary’ to a table employee_details?

587


what are the types of subquery? : Sql dba

586


What are the types of variables use in pl sql?

503


what is oltp (online transaction processing)? : Sql dba

530






How you improve the performance of sql*loader? : aql loader

575


What is procedure and function in sql?

532


What is snowflake sql?

578


What mean sql?

576


What is a scalar value in sql?

582


What are literals in sql server?

530


When should I use nosql database?

551


What is sql query optimization?

541


Why procedure is used in sql?

531


How can I delete duplicate rows?

562