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

Is it safe to delete log files?

978


What are dml triggers and types of dml triggers?

1031


What is table-valued sub query?

1028


List layers of abstraction microsoft architectured to provide relational db through cloud platform ?

187


which backup strategy you are following at ur company

2196


What is an expression in ms sql server?

1143


What is normalization? Explain its different types?

1153


What are the database roles? : sql server security

1279


Explain the functionalities that views support?

1162


Can a database be shrunk to 0 bytes, if not, why?

1167


How to create an index on a view?

1143


What is an indexing technique?

985


Why union all is faster than union?

978


List out some of the requirements to set up a sql server failover cluster?

1081


Can we delete data from a view?

980