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

Answer Posted / priya

select firstname,lastname from hire_date where to_upper
(to_char(hire_date, 'mon')) = 'MON' ;

since hire_date is of date type converting the date to
again of date type is of no use.Need to convert it to
string type and select the month.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use subquery?

703


how can we find the number of rows in a table using mysql? : Sql dba

790


What is AUTH_ID and AUTH_USER in pl/sql ?

1940


How to select 10 records from a table?

841


How do you drop a trigger?

711






What is the difference between a procedure and a function?

701


hi,i plan to put experience on PLSQL ,can anyone suggest me for any institutes in bangalore or how to prepare for interviews

1742


Mention what are different methods to trace the pl/sql code?

747


How can get second highest salary in sql?

690


Explain the difference in execution of triggers and stored procedures?

748


How many tables can a sql database have?

710


What is %rowtype in pl sql?

694


List the different type of joins?

752


How do you use a while loop in pl sql?

721


What is pl sql commands?

730