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)

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

How do I make my sql query run faster?

1013


What is not null in sql?

1106


What has stored procedures in sql?

1095


Why do we need a foreign key?

1164


how to enter binary numbers in sql statements? : Sql dba

1011


Is there a 64 bit version of ssms?

997


What is program debugging?

1340


Explain what is rdbms?

1083


What does bitemporal mean?

1110


Is sql considered coding?

1088


how do you know if your mysql server is alive? : Sql dba

1125


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

1033


What is union and union all keyword in sql and what are their differences?

1153


how many groups of data types? : Sql dba

1072


What is a left join?

1005