Database - Interview Questions and Answers for 'Cogent infotech corp' - 3 question(s) found - Order By Newest Q1. Difference between Inner and Outer Join ? Database
Ans. Inner join is the intersection of two tables on a particular columns whereas Outer Join is the Union of two tables. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  sql   joins   inner join   outer join Asked in 4 Companies basic   frequent Related Questions What are Inner , Outer , Left and Right Joins in SQL ? What is a self Join and give an example of a self Join ?
or
What is self Join and What is it's purpose ? 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 ? 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 ? If Table A has 0 records and Table B has 50 records , how many records will the equi join of Table generate ? What is Left Outer Join ? Describe SQL Joins create an SQL query across multiple tables involving outer joins Explain Working of joins in sql. Ans. It returns all the rows form the left table and matches the rows in both tables. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  database   database joins   left outer join  sql Asked in 2 Companies Related Questions What are Inner , Outer , Left and Right Joins in SQL ? What is JDBC? Describe the steps needed to execute a SQL query using JDBC. What are temp tables ? What is a self Join and give an example of a self Join ?
or
What is self Join and What is it's purpose ? Do you like Native SQL Apis like JDBC or JPA / Hibernate ? Is there any schema in mongo DB ? Difference between Inner and Outer Join ? What is a Cursor ? Does SQL allow null values ? Can we use it within Where clause ? Write an SQL to find all records having all upper case alphanumeric characters in a field ? Q3. create an SQL query across multiple tables involving outer joins Database
Ans. Select * from table1 t1Left outer join table2 t2 on t1.tid = t2.id Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  sql query  database  outer joins Asked in 2 Companies Related Questions What are Inner , Outer , Left and Right Joins in SQL ? Difference between Inner and Outer Join ? What is Left Outer Join ?