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 the least restrictive isolation level? : Transact sql

1080


What are different joins used in sql?

1067


When is a declare statement required?

1152


Can a commit statement be executed as part of a trigger?

1064


What are few of the schema objects that are created using PL/SQL?

1050


What is the sql query to display the current date?

1055


Is sql injection illegal?

1036


What is pl sql code?

1060


How many types of cursors supported in pl/sql?

1199


What is the difference between row level and statement level trigger?

1033


What is the difference between functions, procedures, and packages in pl/sql?

1062


what is isam? : Sql dba

1023


Is hadoop a nosql?

1011


define sql update statement ? : Sql dba

1128


What is the purpose of normalization?

1057