Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa SQL What is Intersect?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


hemant kumar
What is Intersect?
1 Answer(s)      3 years and 11 months ago
Posted in : SQL


What is Intersect?


Advertisement
View Answers

November 20, 2010 at 12:32 PM


Hi,

The INTERSECT query allows you to return the results of two or more "select" queries. However, it only returns the rows selected by all queries. If a record exists in one query and not in the other, it will be omitted from the INTERSECT results.

The syntax is as follows:

[SQL Statement 1]
INTERSECT
[SQL Statement 2]

thanks,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com