adspace


What is sub-query in sql server? Explain its properties.

Answer Posted / Pooja Rani Vishnoi

A sub-query, also known as an inner query, is a SQL statement that is nested inside another SQL statement. It can return a single value or multiple values. Sub-queries can be used to filter data, join tables, aggregate data, and perform complex queries. There are two main types of sub-queries: correlated sub-queries and non-correlated sub-queries.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the properties of the transaction?

1072


Why and when do stored procedure recompile?

1057


What is standby servers? Explain types of standby servers.

1078


How raid can influence database performance?

1116


Can you index views?

953


How to convert numeric expression data types using the cast() function?

1148


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1070


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1132


Explain “row_number()” in sql server with an example?

1078


What is self contained sub query?

1139


How to remove duplicate rows from table except one?

1087


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1212


Why use identity in sql server?

1197


What is sql server query analyzer?

1127


What are the kinds of subquery?

1106