Database - Interview Questions and Answers for 'A9.com' | 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

   



Database - Interview Questions and Answers for 'A9.com' - 2 question(s) found - Order By Newest

Frequently asked in Cognizant ( Based on 2 feedback )
  Q1. What are Inner , Outer , Left and Right Joins in SQL ?Database
Ans. Inner join is the intersection of two tables on the condition defined by the where clause i.e will get records from both tables matched by a column.

Outer join is the union of two tables i.e will get all records from both tables and will put null in the columns where related records are not present.

Left Outer join is the left union of two tables i.e all records from the table on the left and values from the right table for related records else null for the columns from right table.

Right Outer join is the right union of two tables i.e all records from the table on the right and values from the left table for related records else null for the columns from left table.

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

   Like         Discuss         Correct / Improve     sql  inner join  outer join  right join  left join     Asked in 24 Companies      basic        frequent


Related Questions

 What is a self Join and give an example of a self Join ?

or

What is self Join and What is it's purpose ?
  Difference between Inner and Outer Join ?
 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.


Frequently asked to fresh graduates.
 Q2. What is ACID ?Database
Ans. ACID stands for Atomicity, Consistency, Isolation, Durability is a set of properties of database transactions.

Atomicity means all or nothing. i.e parts of a transaction shouldn't commit if any one of them fails. Either the whole transaction should succeed or it should be complete rollback.

Consistency means that any transaction should lead database from one stabe state to another.

Isolation means that the execution of transaction results in a system state that would be obtained if transactions were executed serially.

Durability means that when a transaction is committed it forms the permanent state of database.

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

   Like         Discuss         Correct / Improve     database  acid     Asked in 7 Companies      Intermediate

Try 1 Question(s) Test


Related Questions

  What is database deadlock ? How can we avoid them?
  What things you would care about to improve the performance of Application if its identified that its DB communication that needs to be improved ?
  If you are given a choice to implement the code to either Insert a Record or Update if already exist, Which approach will you follow ?
  What is the use of @GeneratedValue annotation in Hibernate?
  What are temp tables ?
 What is a Database Trigger ?
 What is database Normalization ?
 What happens to backups if we delete the RDS instance ?
  What is a Cursor ?



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: