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

Why do we use trigger?

629


What is the difference between online clustering and Offline clustering?

2021


Can a database be shrunk with users active?

697


What is Transparent Data Encryption?

654


What is primary key, unique key, and foreign key?

643






What is use of except clause? How does it differ from not in clause?

637


Can I delete event logs?

618


What is cdc in sql server?

654


Explain table valued parameters in sql server? Why tvp used?

646


What are distinctive joins find as a part of sql?

626


What is difference between commit and rollback when used in transactions?

576


What is trigger explain with program?

626


What is use of dbcc commands?

704


What is used to replicate sessions between instances in coldfusion clusters?

662


List types of tables in SQL Azure?

116