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

Can the query output be sorted by multiple columns in ms sql server?

557


How to create a login account in ms sql server to access the database engine using "create login" statements?

573


can SSRS reports Cache results?

113


What is mscorsvw.exe - process - microsoft .net framework ngen?

532


How global temporary tables are represented and its scope?

552






How to write an inner join with the where clause in ms sql server?

559


What is the Main Difference between ACCESS and SQL SERVER?

563


Can a table be created inside a trigger?

568


Explain what are the different index configurations a table can have?

697


What is the use of tempdb? What values does it hold?

569


What is @@error in sql?

625


What is stretch database in sql server?

573


What are the mathematical functions supported by sql server 2005?

553


What happens if null values are involved in arithmetic operations?

591


how to do partition in sqlserver

1975