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 / pramod

select *
from tbl_employees
where DATENAME(DW,hiredate)='Monday' order by hiredate

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is error ora-12154: tns:could not resolve the connect identifier specified?

587


Which data type is a composite type?

528


what is the difference between a having clause and a where clause? : Sql dba

517


What is a procedure in pl sql?

543


Is crud a cuss word?

544






What is cold data?

503


What is percent sign in sql?

713


How do rank () and dense_rank () differ?

516


Write a query to display the current date in sql?

511


What is lexical units in pl sql?

571


Why are cursors used?

578


What are the different set operators available in sql?

563


Should I use mbr or gpt?

544


What is normalisation and its types?

544


1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...

1910