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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the most important ddl statements in sql?

1027


How can you select unique records from a table?

995


how to dump a table to a file with 'mysqldump'? : Sql dba

983


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

1127


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1135


What are different types of queries in sql?

1049


what is the difference between delete and truncate statement in sql? : Sql dba

1130


How can we store rows in PL/SQL using array?

1162


What is the difference between local and global temporary table?

990


What is a loop in sql?

937


Is sqlexception checked or unchecked?

920


How to get unique records from a table?

898


How show all rows in sql?

975


Is inner join faster than left join?

1125


What is the file extension for sql database?

939