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 employees from EMP table those who
have joined in Monday. (there is a column as hiredate which is
a date column i.e values are like 03-DEC-81)

Answer Posted / masuduz zaman

SELECT * FROM EMP
WHERE (DATEPART(dw, HIREDATE) + @@DATEFIRST) % 7 = 2

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rowtype?

973


What is pragma in pl sql?

1053


How do I know if I have sql express or standard?

993


Can we write ddl statements in functions?

1068


can a stored procedure call itself or recursive stored procedure? : Sql dba

972


How do sql triggers work?

1001


List the various privileges that a user can grant to another user?

1005


What does over partition by mean in sql?

934


Explain foreign key in sql?

983


How can triggers be used for the table auditing?

1033


Explain clause in sql?

979


How many row comparison operators are used while working with a subquery?

997


What does rownum mean in sql?

980


Mention what plvcmt and plvrb does in pl/sql?

1075


What does joining a thread mean?

985