Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / prasant

SELECT FIRST_NAME,LAST_NAME FROM employees
where TRIM(TO_CHAR(TO_DATE(HIRE_DATE),'DAY'))='MONDAY';

if any issue,contact me.

Is This Answer Correct ?    48 Yes 8 No

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

Answer / kiran kumar

SELECT * FROM EMP
where TRIM(TO_CHAR(TRUNC(HIREDATE),'DAY'))='SUNDAY'

Is This Answer Correct ?    23 Yes 7 No

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

Answer / kavitha nedigunta

select ename
from emp
where trim(to_char(Hiredate,'day')) ='monday'

Is This Answer Correct ?    19 Yes 5 No

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

Answer / ajit nayak

SELECT *
FROM EMP
WHERE TO_CHAR(HIREDATE,'FMDAY') = 'MONDAY';

Is This Answer Correct ?    6 Yes 1 No

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

Answer / nitin umale

SELECT last_name,TO_CHAR(hire_date, 'Day,dd-Mon-yy')Hire_date
FROM employees
WHERE UPPER(TRIM(TO_CHAR(hire_date, 'day')))='MONDAY';

Is This Answer Correct ?    3 Yes 1 No

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

Answer / ajeet

select last_name,to_char(hire_date,'day,mm,yyyy')
from employees
where trim(to_char(Hire_date,'day')) ='monday'

Is This Answer Correct ?    4 Yes 2 No

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

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

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

Answer / chaitu

select ename,to_char(hiredate,'Day') from emp
where trim( to_char(hiredate,'Day'))='Monday'

Is This Answer Correct ?    1 Yes 1 No

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

Answer / emmanuel

Select * from emp
Where to_char(TO_DATE(hire_date),'day')='monday';

Is This Answer Correct ?    0 Yes 0 No

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

Answer / venkat

Select first_name,Last_name
from employees
where To_date('HIREDATE','D')=2;

1-SUNDAY
2-MONDAY
----
7-SATURDAY

The advantage of the above query even don't know about the
format of day of the week We get the output.
Monday,
MON
MONDAY
ETC

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More SQL PLSQL Interview Questions

Is sqlite good enough for production?

0 Answers  


Explain the the update statement in sql?

0 Answers  


Is it possible to link two groups inside a cross products after the cross products group has been created?

0 Answers  


Can we insert in view in sql?

0 Answers  


what does the t-sql command ident_current does? : Transact sql

0 Answers  


How do you sort in sql?

0 Answers  


why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

0 Answers  


How many types of triggers are there in pl sql?

0 Answers  


what are the properties and different types of sub-queries? : Sql dba

0 Answers  


What is output spooling in sql*plus?

0 Answers  


What is sql engine in oracle?

0 Answers  


How many row comparison operators are used while working with a subquery?

0 Answers  


Categories