SQL - Interview Questions and Answers for 'Sql joins' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



SQL - Interview Questions and Answers for 'Sql joins' - 6 question(s) found - Order By Newest

 Q1. If Table A has 100 records and Table B has 50 records , how many records will the equi join of Table generate ?SQL
Ans. It depends on the join condition.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     equi join  sql join  database  sql


 Q2. If Table A has 100 records and Table B has 50 records , how many records will the left join of Table A with Table B generate ?SQL
Ans. 100 records

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     database  sql  sql joins   left join


 Q3. If Table A has 100 records and Table B has 50 records , how many records will the right join of Table A with Table B generate ?SQL
Ans. 50 records

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     database  sql  sql joins   right join


 Q4. If Table A has 0 records and Table B has 50 records , how many records will the equi join of Table generate ?SQL
Ans. 0 records

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     database  sql  sql joins   equi join


 Q5. Describe SQL JoinsDatabase
Ans. Oracle having following types of joins these are also called 8i joins. There are:

1. Equi (or) Inner join
2. Non Equi join
3.Self join
4.Outer join

Oracle also support the 9i (or) ANSI standard joins.There are:

1.Inner join
2.Left outer join
3.Right outer join
4.Full outer join
5.Natural join

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     sql joins  sql     Asked in 2 Companies


 Q6. What is the minimum number of tables required to perform a SQL join?Database
Ans. 1 , We can do self join


 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     sql join     Asked in 1 Companies


 Q7. In majority of the cases, the following join will give maximum number of results ?Database
a. Inner Join
b. Outer Join
c. Left Join
d. Right Join

Ans.b. Outer Join

 Q8. Which if the following is true for SQL Joins ?Database
a. Left Join and Right Join gives equal number of Results
b. Outer Join and Inner Join gives equal number of Results
c. Inner Join gives maximum number of results records
d. Inner Join gives minimum number of result records

Ans.d. Inner Join gives minimum number of result records


Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: