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 self join and what is the requirement of self join? : Sql dba

1122


Define overloaded procedure?

1059


Does execute immediate commit?

1196


How do I save the results of sql query in a file?

963


What are keys in sql?

980


What does cursor do in sql?

1003


What is synchronized subquery?

1144


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

935


What are tables and fields in the database?

1092


What does the hierarchical profiler does?

1048


How many commands are there in sql?

1010


Is sqlite free?

949


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

7272


Lookups are a key component in sql server integration services (ssis). Explain its purpose?

983


What is a column in a table?

1106