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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you declare a variable in pl sql?

967


What are the different type of joins in sql?

908


How many aggregate functions are available there in sql?

931


Mention what pl/sql package consists of?

939


What is scalar function in sql?

979


How global cursor can be declare with dynamic trigger ?

2148


Are dml statements autocommit?

987


What is embedded sql with example?

989


How to execute a stored procedure?

1037


What are all ddl commands?

1015


how to create a new table in mysql? : Sql dba

935


Write a sql select query that only returns each name only once from a table?

962


How to call shell script from pl sql procedure?

1177


What is a full join?

912


Can we use rowid as primary key?

944