Web Analytics Made Easy - Statcounter

Question of the Week – 11/1/2014

Question:- Suppose there are two tables A and B and we need to write 3 SQL queries which returns the record set as shown in the below figure.


First Query:-

In this case, you have to write a SQL Query using SQL JOIN which return the data which is not common to these two tables A& B as shown in the shaded part in 1st figure.

Second Query:-

 In this case, you have to write a SQL Query using SQL JOIN which will return the data from table A which is not in the table B as shown as shaded part in 2nd figure.


Third Query:-

 In this case, you have to write a SQL Query using SQL JOIN which will return the data from table B which is not in the table A as shown as shaded part in 3rd figure.

Previous Questions and their Answers


 Question of the Week – 2/1/2014 – Question 1
  
 Answer

 Question of the Week – 28/12/2013 – Question 2

 Answer

 Question of the Week -25/12/2013- Question1

 Answer

DMCA.com


Discover more from Technology with Vivek Johari

Subscribe to get the latest posts sent to your email.

31 Comments

Leave a Reply

Discover more from Technology with Vivek Johari

Subscribe now to keep reading and get access to the full archive.

Continue reading