Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL
Expertise: Intermediate
Nov 11, 2016

The SQL Intersect Operator

The SQL Intersect operator returns distinct rows that are output by both the left and right input queries operator.

SELECT expression1, expression2, ... 
FROM tables
INTERSECT
SELECT expression1, expression2, ... 
FROM tables

Where the same data is present in both result sets, Intersect will return it, otherwise it will not

Hannes du Preez
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date