In Oracle, the INTERSECT operator takes the results of two queries and returns only rows that appear in both result sets. If a record exists in one query and not in the other, it will be omitted from the INTERSECT results.
To fetch the results of two queries and returns only rows that appear in both result sets, use the following syntax:
tablename1 & 2: The table name from which you want to achive
INTERSECTto perform retrive data from both the tables:
In the above example, if "firstName" appeared in both the tblcustomer and tblcustomerloan table, it would appear in your result set.