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 / arun kumar reddy

select * from
(select emp.*,to_char(to_date(hiredate),'day') as join_day from emp)
where join_day like'mo%';

Is This Answer Correct ?    0 Yes 2 No

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

Answer / sankarapandian

select *,upper(datename(dw,gedate())) as dayofweek from
employee where upper(Convert(varchar(15),datename dw,gedate
())))='MONDAY'

Is This Answer Correct ?    1 Yes 4 No

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

Answer / mohammad murtuza ali

select firstname,lastname from hire_date where
sdate='Monday'
(or)
select firstname,lastname from hire_date where
sdate='27022010'

Is This Answer Correct ?    8 Yes 15 No

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

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

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

Answer / ravindra

Select first_name,Last_name
from employees
where To_date('Hire_date','Day')='Monday'

Is This Answer Correct ?    6 Yes 21 No

Post New Answer

More SQL PLSQL Interview Questions

How to use boolean type in select statement?

0 Answers  


What are the types of dbms?

0 Answers  


1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins

0 Answers   CTS,


how can we submit a form without a submit button? : Sql dba

0 Answers  


What is a constraint? Tell me about its various levels.

0 Answers  


Explain two easy sql optimizations.

0 Answers  


how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba

0 Answers  


What is the diff between Truncate table / delete <table name> purge

3 Answers   TCS,


what is the difference between union and union all? : Sql dba

0 Answers  


how to do backup entire database? : Transact sql

0 Answers  


what are tables and fields? : Sql dba

0 Answers  


select top 3 sal from each dept?

17 Answers   IBM, TCS,


Categories