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

How do I find duplicates in sql?

929


Do we need to rebuild index after truncate?

1035


Why is %isopen always false for an implicit cursor?

1107


What is difference between nchar and nvarchar?

1028


What is pragma in pl sql?

1110


what is column? : Sql dba

1004


Name three sql operations that perform a sort.

1013


What is the difference between sum and count in sql?

986


Explain the components of sql?

1064


What is forward declaration in pl sql?

1078


What does the argument [or replace] do?

1082


What are the main features of cursor?

1071


How to Declare Fixed Length String Value In PL SQL

1155


What is the usage of nvl function?

1040


What is a database trigger?

1070