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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does truncate need commit?

908


How many types of relationship are there?

1000


What is the current version of postgresql?

1028


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

1316


Explain the significance of the & and && operators in pl sql.

974


Can you select everything, but 1 or 2 fields, without writer's cramp?

960


What is a dynamic query?

990


What is bulk compiling in pl/sql.?

1091


Is merge a dml statement?

944


List the ways to get the count of records in a table?

880


What are some emotional triggers?

952


What is trigger explain with example?

1001


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

1130


What trigger means?

942


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

2084