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

what kind of lan types do you know? : Sql server database administration

944


Explain error handling in ssis?

981


Write the syntax for stuff function in an sql server?

997


Do you know hot add cpu in sql server 2008?

916


What are scalar functions in sql?

1093


What is the difference between system objects and user objects?

1126


Why should one not prefix user stored procedures with ‘sp_’?

1007


Write the SQL query to drop, truncate and delete table.

935


What are logical database components? : SQL Server Architecture

983


Why truncate is ddl?

1045


What are the differences between local and global temporary tables?

1034


Can a table have 2 primary keys?

949


Explain cursor as data base object?

999


Give an example of why you would want to denormalize a database

947


What is impersonation? What are the different impersonation options available in ssas? : sql server analysis services, ssas

940