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 / masuduz zaman

SELECT * FROM EMP
WHERE (DATEPART(dw, HIREDATE) + @@DATEFIRST) % 7 = 2

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 3 basic parts of a trigger.

946


What is sqlite format?

716


What are pl/sql cursors?

642


What is procedure function?

627


Name the operator which is used in the query for pattern matching?

592






How many types of triggers exist in pl/sql?

648


What is materialized view. What are different methods of refresh?

939


Could you please provide oca (oracle 10g) dumps for my certification ?

4643


What is memory optimized table?

663


What are the different types of functions in sql?

620


what is the difference between delete and truncate commands? : Sql dba

630


How can you fetch first 5 characters of the string?

634


Explain the uses of control file.

700


What are the two virtual tables available at the time of database trigger execution?

756


what is a tablespace? : Sql dba

651