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

Answer Posted / bernatshaw

Sub-query means a Query within a Query.
This is the Example:
Select Employee_Id, Employee_name From Employees Where
Employee_Id IN (Select Mgr_Id from Manager)

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about unique identifier data type in sql server?

514


what stored procedure can you use to display the current processes? : Sql server administration

530


What is the difference between createstatement and preparedstatement?

494


what are the types of indexes? : Sql server database administration

595


What is the difference between varchar and varchar types?

568






What are the operating modes in which database mirroring runs?

611


What is the security principal at the server level that represents your session?

558


What are the steps to process a single select statement?

514


How we create SQL Server 2005 Reporting Services ? Give me Sample

1573


How to generate random numbers with the rand() function in ms sql server?

564


What are the tool windows in sql server management studio? : sql server management studio

624


What are user-defined functions (udfs) in sql server?

572


How to transfer data from a cursor to variables with a "fetch" statement?

582


Do you know spatial data types - geometry and geography in sql server 2008?

581


What to check if a User database is locked?

588