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

What are sub-queries? Give example? In which case
sub-queries are not feasible?

Answer Posted / amit kumar

A subquery is simply a SELECT query within a SELECT query.

example:-

SELECT City, Salary, (SELECT AVG(Salary) FROM Employee)
AS AvgSalary FROM Employee;

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use DTS package in 2000,2005,2008 in sql server

1840


When do you think a developer should use sql server-based cursors?

1052


What is the difference between for trigger and after trigger?

1116


How to check if stored procedure is running in sql server?

1067


Define full outer join?

962


What is the native system stored procedure to execute a command against all databases?

1036


Define union, union all, minus, intersect?

985


How to find table changes in sql server?

1128


How to convert numeric values to integers in ms sql server?

1096


How use inner join in sql server?

1139


What is the status of services on passive node for failover cluster in sql server? : sql server database administration

1273


Is t sql the same as sql server?

986


What do you mean by stored techniques? How would we use it?

1041


What is a cube? : sql server analysis services, ssas

1004


Explain the use of containers in ssis?

967