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

is it necessary to write group by and order by clause together

3 Answers   HCL, Wipro,


How do I edit a stored procedure?

0 Answers  


Define concurrency control. : Transact sql

0 Answers  


What is difference between stored function and application function?

0 Answers  


Does normalization improve performance?

0 Answers  


How many types of cursors are available in pl/sql?

0 Answers  


what is the difference between a web-garden and a web-farm? : Sql dba

0 Answers  


how can we write a column values horizontal by using sql stmt; ex: select name from table_name;(actual output) a b c d require output is a b c d

5 Answers   Honeywell, Interact,


What is constant in pl sql?

0 Answers  


What is sqlexception in java?

0 Answers  


what is the purpose of update command in oracle?

7 Answers   MBT,


if a string is there like s1,s2,s3,s4.How to find count of commas in this.

4 Answers  


Categories