Write a query to find the employees from EMP table those who
have joined in Monday. (there is a column as hiredate which is
a date column i.e values are like 03-DEC-81)

Answer Posted / jprakash025

SQL> select ename,hiredate from emp
2 where
3 to_char(hiredate,'day') like '%sunday%';

ENAME HIREDATE
---------- ---------
WARD 22-FEB-81
SCOTT 19-APR-87

i dont hv monday data, thats y i m using sunday

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process of debugging?

741


What is exit statement?

744


What is a natural join?

733


How to use distinct and count in sql query? Explain

769


What is a stored procedure in sql with example?

787






What is a constraint?

730


What is cte sql?

718


How to Declare Fixed Length String Value In PL SQL

843


what are integrity rules?

754


How to avoid duplicate records in a query?

749


Is there a 64 bit version of ssms?

678


Is merge a dml statement?

731


what is index? : Sql dba

747


How many primary keys can a table have?

722


What is the syntax to add a record to a table?

784